add sqlite database and message editing support

This commit is contained in:
nelsbrock committed 2023-11-11 15:44:05 +01:00
1 parent e892fb0c5b
commit e1adadc843
11 files changed
+501 -344

No files matched your search

View File
Whitespace-only changes.
@@ -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)
);