Merge branch 'master' of github.com:loki-project/loki-messenger-android

This commit is contained in:
Niels Andriesse
2019-06-05 13:34:18 +10:00
3 changed files with 99 additions and 10 deletions

View File

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