mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Fix incorrect sql statement.
This commit is contained in:
parent
e2ffab9e19
commit
46af1aacbb
@ -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" +
|
||||
");"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user