fix messages table creation

This commit is contained in:
kosyak 2023-06-29 00:22:54 +03:00 committed by Konstantin Aleksashin
parent 8f0fb0f2a3
commit 983ef0d369

View file

@ -262,6 +262,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
+ Message.MARKABLE + " NUMBER DEFAULT 0,"
+ Message.DELETED + " NUMBER DEFAULT 0,"
+ Message.BODY_LANGUAGE + " TEXT,"
+ Message.PAYLOADS + " TEXT,"
+ Message.REMOTE_MSG_ID + " TEXT, FOREIGN KEY("
+ Message.CONVERSATION + ") REFERENCES "
+ Conversation.TABLENAME + "(" + Conversation.UUID