feat: add a wait before a notice can be accepted

This commit is contained in:
2026-11-13 22:46:07 +01:00
parent 28b6244a17
commit 93036bae89
12 changed files with 131 additions and 7 deletions
@@ -50,6 +50,11 @@ public class HeraldDatabase
PRIMARY KEY (user_id, date)
);
CREATE INDEX ix_watch_daily_date ON watch_daily (date);
""",
// 3: wait before a notice can be accepted
"""
ALTER TABLE notices ADD COLUMN accept_delay INTEGER NOT NULL DEFAULT 0;
"""
];