feat: basic Announce support

This commit is contained in:
nullishamy 2025-04-26 12:17:32 +01:00
parent 3719fae102
commit 2270324711
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
10 changed files with 178 additions and 4 deletions

View file

@ -5,6 +5,8 @@ CREATE TABLE IF NOT EXISTS post
user_id TEXT NOT NULL,
content TEXT NOT NULL,
created_at TEXT NOT NULL,
boosted_post_id TEXT,
FOREIGN KEY(user_id) REFERENCES user(id)
FOREIGN KEY(user_id) REFERENCES user(id),
FOREIGN KEY(boosted_post_id) REFERENCES post(id)
);