This commit is contained in:
Erik Foris 2021-10-25 18:16:55 +02:00
parent 3aa59ac3e4
commit 146ad6a712

View File

@ -1,7 +1,7 @@
-- msgdata_template definition -- msgdata_template definition
-- TODO Add IF NOT EXISTS to prevent panics -- TODO Add IF NOT EXISTS to prevent panics
CREATE TABLE msgdata_{chat_id} ( CREATE TABLE msgdata_{chat_id} (
msg_id TEXT NOT NULL msg_id TEXT NOT NULL,
timestamp INTEGER NOT NULL, timestamp INTEGER NOT NULL,
sender_id TEXT NOT NULL, sender_id TEXT NOT NULL,
msg_type INTEGER NOT NULL, msg_type INTEGER NOT NULL,