Fix new databases containing columns that were removed in an earlier commit

This commit is contained in:
chylex committed 2022-03-12 18:12:30 +01:00
1 parent f8331a571e
commit 563c644f48
1 file changed
+1 -3
+1 -3
View File
@@ -77,9 +77,7 @@ namespace DHT.Server.Database.Sqlite {
sender_id INTEGER NOT NULL,
channel_id INTEGER NOT NULL,
text TEXT NOT NULL,
timestamp INTEGER NOT NULL,
edit_timestamp INTEGER,
replied_to_id INTEGER)");
timestamp INTEGER NOT NULL)");
Execute(@"CREATE TABLE attachments (
message_id INTEGER NOT NULL,