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

This commit is contained in:
chylex 2022-03-12 16:30:12 +01:00
parent f8331a571e
commit 563c644f48
No known key found for this signature in database
GPG Key ID: 4DE42C8F19A80548

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,