Upsert snoozes and mark snoozed messages as read

This commit is contained in:
2025-11-03 15:42:03 -08:00
parent 50a4bfcac7
commit a8129e4685
4 changed files with 17 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
-- Add up migration script here
CREATE TABLE IF NOT EXISTS snooze (
id integer NOT NULL GENERATED ALWAYS AS IDENTITY,
message_id text NOT NULL,
message_id text NOT NULL UNIQUE,
wake timestamptz NOT NULL
);