Fix tablename in upgrade script
This commit is contained in:
parent
657e2877ba
commit
2ef3824b79
@ -57,7 +57,7 @@ internal class Upgrade3To4 @Inject constructor() : DatabaseUpgrade(3, 4) {
|
|||||||
CloudEntityDao(DaoConfig(db, VaultEntityDao::class.java)) //
|
CloudEntityDao(DaoConfig(db, VaultEntityDao::class.java)) //
|
||||||
.loadAll() //
|
.loadAll() //
|
||||||
.map {
|
.map {
|
||||||
Sql.update("CLOUD_ENTITY") //
|
Sql.update("VAULT_ENTITY") //
|
||||||
.where("_id", Sql.eq(it.id)) //
|
.where("_id", Sql.eq(it.id)) //
|
||||||
.set("POSITION", Sql.toInteger(it.id)) //
|
.set("POSITION", Sql.toInteger(it.id)) //
|
||||||
.executeOn(db)
|
.executeOn(db)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user