Fix incorrect sql statement.

This commit is contained in:
Mikunj 2019-06-05 13:24:33 +10:00
parent e2ffab9e19
commit 46af1aacbb

View File

@ -31,14 +31,14 @@ class LokiPreKeyBundleDatabase(context: Context, helper: SQLCipherOpenHelper) :
@JvmStatic @JvmStatic
val createTableCommand = "CREATE TABLE $tableName (" + val createTableCommand = "CREATE TABLE $tableName (" +
"$pubKey TEXT PRIMARY KEY" + "$pubKey TEXT PRIMARY KEY," +
"$preKeyId INTEGER," + "$preKeyId INTEGER," +
"$preKeyPublic TEXT NOT NULL" + "$preKeyPublic TEXT NOT NULL," +
"$signedPreKeyId INTEGER" + "$signedPreKeyId INTEGER," +
"$signedPreKeyPublic TEXT NOT NULL" + "$signedPreKeyPublic TEXT NOT NULL," +
"$signedPreKeySignature TEXT" + "$signedPreKeySignature TEXT," +
"$identityKey TEXT NOT NULL" + "$identityKey TEXT NOT NULL," +
"$deviceId INTEGER" + "$deviceId INTEGER," +
"$registrationId INTEGER" + "$registrationId INTEGER" +
");" ");"
} }