mirror of
https://github.com/oxen-io/session-android.git
synced 2025-11-08 08:40:52 +00:00
Fix incorrect sql statement.
This commit is contained in:
@@ -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" +
|
||||
");"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user