Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Commit 5ca833b

Browse files
committed
Fix chat list now showing.
1 parent 25efdb1 commit 5ca833b

11 files changed

Lines changed: 1213 additions & 72 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ android {
1818
applicationId "chat.rocket.android"
1919
minSdkVersion versions.minSdk
2020
targetSdkVersion versions.targetSdk
21-
versionCode 2060
21+
versionCode 2061
2222
versionName "3.3.0"
2323
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2424
multiDexEnabled true

app/schemas/chat.rocket.android.db.RCDatabase/11.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"formatVersion": 1,
33
"database": {
44
"version": 11,
5-
"identityHash": "fb9f1c815809b0217d326452aeb34e92",
5+
"identityHash": "1984b5661945bd83607d9a7043ed87b0",
66
"entities": [
77
{
88
"tableName": "users",
@@ -1013,7 +1013,7 @@
10131013
},
10141014
{
10151015
"tableName": "reactions",
1016-
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`reaction` TEXT NOT NULL, `messageId` TEXT NOT NULL, `count` INTEGER NOT NULL, `usernames` TEXT NOT NULL, PRIMARY KEY(`reaction`), FOREIGN KEY(`messageId`) REFERENCES `messages`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
1016+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`reaction` TEXT NOT NULL, `messageId` TEXT NOT NULL, `count` INTEGER NOT NULL, `usernames` TEXT NOT NULL, `names` TEXT NOT NULL, PRIMARY KEY(`reaction`), FOREIGN KEY(`messageId`) REFERENCES `messages`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
10171017
"fields": [
10181018
{
10191019
"fieldPath": "reaction",
@@ -1038,6 +1038,12 @@
10381038
"columnName": "usernames",
10391039
"affinity": "TEXT",
10401040
"notNull": true
1041+
},
1042+
{
1043+
"fieldPath": "names",
1044+
"columnName": "names",
1045+
"affinity": "TEXT",
1046+
"notNull": true
10411047
}
10421048
],
10431049
"primaryKey": {
@@ -1099,7 +1105,7 @@
10991105
],
11001106
"setupQueries": [
11011107
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
1102-
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"fb9f1c815809b0217d326452aeb34e92\")"
1108+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"1984b5661945bd83607d9a7043ed87b0\")"
11031109
]
11041110
}
11051111
}

0 commit comments

Comments
 (0)