Fix create initial update status entry in database
Fortunately, SqlInsertBuilder.text("LICENSE_TOKEN", null) and SqlInsertBuilder.bool("LICENSE_TOKEN", null) have the same result in this context
This commit is contained in:
parent
24dbcf20e1
commit
1d6811e1e8
@ -243,7 +243,6 @@ class Sql {
|
||||
public static class SqlAlterTableBuilder {
|
||||
|
||||
private final String table;
|
||||
private final StringBuilder columns = new StringBuilder();
|
||||
private String newName;
|
||||
|
||||
private SqlAlterTableBuilder(String table) {
|
||||
|
@ -32,7 +32,7 @@ internal class Upgrade1To2 @Inject constructor() : DatabaseUpgrade(1, 2) {
|
||||
private fun createInitialUpdateStatus(db: Database) {
|
||||
Sql.insertInto("UPDATE_CHECK_ENTITY") //
|
||||
.integer("_id", 1) //
|
||||
.bool("LICENSE_TOKEN", null) //
|
||||
.text("LICENSE_TOKEN", null) //
|
||||
.text("RELEASE_NOTE", null) //
|
||||
.text("VERSION", null) //
|
||||
.text("URL_TO_APK", null) //
|
||||
|
Loading…
x
Reference in New Issue
Block a user