Replace personal read with timestamp

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina Fefelova
2024-12-02 20:26:19 +04:00
parent f2111360b8
commit 281aba5cf7
2 changed files with 6 additions and 8 deletions
@@ -3,8 +3,5 @@ CREATE TABLE IF NOT EXISTS notification
social_id VARCHAR(255) NOT NULL,
message_id INT8 NOT NULL,
read BOOLEAN NOT NULL DEFAULT false,
archived BOOLEAN NOT NULL DEFAULT false,
PRIMARY KEY (social_id, message_id)
);