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:
Julian Raufelder 2021-07-16 17:38:47 +02:00
parent 24dbcf20e1
commit 1d6811e1e8
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

@ -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) //