From 983ef0d36935a00df68c01f95a7af3653998a343 Mon Sep 17 00:00:00 2001 From: kosyak Date: Thu, 29 Jun 2023 00:22:54 +0300 Subject: [PATCH] fix messages table creation --- .../java/eu/siacs/conversations/persistance/DatabaseBackend.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java index b40c8efea..e66afafb6 100644 --- a/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java +++ b/src/main/java/eu/siacs/conversations/persistance/DatabaseBackend.java @@ -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