Removed type binding for columns
This commit is contained in:
parent
0fbafe9d12
commit
d35db7e721
@ -10,7 +10,6 @@ public interface Column<RT, tUE : Any, IK : Any> {
|
|||||||
@get:JvmName("name")
|
@get:JvmName("name")
|
||||||
public val name: String
|
public val name: String
|
||||||
|
|
||||||
@DebugApi
|
|
||||||
@Suppress("INAPPLICABLE_JVM_NAME")
|
@Suppress("INAPPLICABLE_JVM_NAME")
|
||||||
@get:JvmName("type")
|
@get:JvmName("type")
|
||||||
public val type: DatabaseType.ImplementationsProvider<RT>
|
public val type: DatabaseType.ImplementationsProvider<RT>
|
||||||
|
@ -10,7 +10,6 @@ import ru.landgrafhomyak.db.skeleton1.api.runtime.InputRow
|
|||||||
|
|
||||||
public interface TableConstructorScope<tUE : Any, IK : Any> {
|
public interface TableConstructorScope<tUE : Any, IK : Any> {
|
||||||
public fun <RT> column(name: String, type: DatabaseType.ImplementationsProvider<RT>, manualCreate: Boolean = false): Column<RT, tUE, IK>
|
public fun <RT> column(name: String, type: DatabaseType.ImplementationsProvider<RT>, manualCreate: Boolean = false): Column<RT, tUE, IK>
|
||||||
public fun <RT, ttUE : Any> columnWithBoundType(name: String, foreign: Column<RT, ttUE, IK>): Column<RT, tUE, IK>
|
|
||||||
|
|
||||||
public fun <oUE : Any?> tableScopedObject(name: String, metadata: ObjectOperations.ImplementationsProvider<oUE>): TableScopedObject<oUE, tUE, IK>
|
public fun <oUE : Any?> tableScopedObject(name: String, metadata: ObjectOperations.ImplementationsProvider<oUE>): TableScopedObject<oUE, tUE, IK>
|
||||||
|
|
||||||
|
@ -11,13 +11,6 @@ public interface TableUpgradeScope<tnUE : Any, toUE : Any, IK : Any> : TableCons
|
|||||||
public fun deleteColumn(c: Column<*, toUE, IK>)
|
public fun deleteColumn(c: Column<*, toUE, IK>)
|
||||||
public fun <RT> deleteColumnAfterUpgrade(c: Column<RT, toUE, IK>): Column<RT, tnUE, IK>
|
public fun <RT> deleteColumnAfterUpgrade(c: Column<RT, toUE, IK>): Column<RT, tnUE, IK>
|
||||||
|
|
||||||
public fun <RT> keepColumnWithBoundType(c: Column<RT, toUE, IK>): Column<RT, tnUE, IK>
|
|
||||||
public fun <RT> unbindAndKeepColumnWithBoundType(c: Column<RT, toUE, IK>): Column<RT, tnUE, IK>
|
|
||||||
public fun <RT> renameColumnWithBoundType(c: Column<RT, toUE, IK>, newName: String): Column<RT, tnUE, IK>
|
|
||||||
public fun <RT> unbindAndRenameColumnWithBoundType(c: Column<RT, toUE, IK>, newName: String): Column<RT, tnUE, IK>
|
|
||||||
public fun deleteColumnWithBoundType(c: Column<*, toUE, IK>)
|
|
||||||
public fun <RT> deleteColumnWithBoundTypeAfterUpgrade(c: Column<RT, toUE, IK>): Column<RT, tnUE, IK>
|
|
||||||
|
|
||||||
public fun <oUE : Any?> keepTableScopedObject(obj: TableScopedObject<oUE, toUE, IK>): TableScopedObject<oUE, tnUE, IK>
|
public fun <oUE : Any?> keepTableScopedObject(obj: TableScopedObject<oUE, toUE, IK>): TableScopedObject<oUE, tnUE, IK>
|
||||||
public fun <oUE : Any?> renameTableScopedObject(obj: TableScopedObject<oUE, toUE, IK>, newName: String): TableScopedObject<oUE, tnUE, IK>
|
public fun <oUE : Any?> renameTableScopedObject(obj: TableScopedObject<oUE, toUE, IK>, newName: String): TableScopedObject<oUE, tnUE, IK>
|
||||||
public fun <oUE : Any?> deleteTableScopedObject(obj: TableScopedObject<oUE, toUE, IK>): TableScopedObject<oUE, tnUE, IK>
|
public fun <oUE : Any?> deleteTableScopedObject(obj: TableScopedObject<oUE, toUE, IK>): TableScopedObject<oUE, tnUE, IK>
|
||||||
|
Loading…
Reference in New Issue
Block a user