add sqlite database and message editing support

This commit is contained in:
2023-11-11 15:44:05 +01:00
parent e892fb0c5b
commit e1adadc843
11 changed files with 501 additions and 344 deletions
@@ -0,0 +1 @@
DROP TABLE posts;
@@ -0,0 +1,7 @@
CREATE TABLE posts (
announcement_id TEXT NOT NULL,
webhook_id UNSIGNED BIG INT NOT NULL,
message_id UNSIGNED BIG INT NOT NULL,
last_updated TIMESTAMP NOT NULL,
PRIMARY KEY (announcement_id, webhook_id)
);