mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-22 16:23:50 +00:00
hotfix for versions repo in android
This commit is contained in:
parent
50c1cd8215
commit
b5072486b4
@ -21,14 +21,12 @@ class AndroidSQLStandardVersionsRepoProxy(
|
|||||||
private val tableVersionColumnName = "version"
|
private val tableVersionColumnName = "version"
|
||||||
|
|
||||||
init {
|
init {
|
||||||
runBlocking(DatabaseCoroutineContext) {
|
database.blockingWritableTransaction {
|
||||||
database.writableTransaction {
|
createTable(
|
||||||
createTable(
|
tableName,
|
||||||
tableName,
|
tableNameColumnName to ColumnType.Text.NOT_NULLABLE,
|
||||||
tableNameColumnName to ColumnType.Text.NOT_NULLABLE,
|
tableVersionColumnName to ColumnType.Numeric.INTEGER()
|
||||||
tableVersionColumnName to ColumnType.Numeric.INTEGER()
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user