Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: include Beeper snoozes in fresh database setup (#9985)

[._.]/ Adam Eivy8d2a20195f05
diff --git a/server/scripts/init-db.sql b/server/scripts/init-db.sql
index 31a0f9c891..457fcfc8ff 100644
--- a/server/scripts/init-db.sql
+++ b/server/scripts/init-db.sql
@@ -1841,6 +1841,8 @@ CREATE TABLE IF NOT EXISTS beeper_conversations (
-- to decide whether the unread badge still shows. Mirrors the ALTER in
-- server/lib/db/schema/beeper.js (for existing installs).
seen_at TIMESTAMPTZ,
+ -- Beeper-owned snooze deadline; NULL on older Desktop API versions.
+ snooze_until TIMESTAMPTZ,
created_at TIMESTAMPTZ DEFAULT NOW(),
updated_at TIMESTAMPTZ DEFAULT NOW(),
UNIQUE (account_id, source_chat_id)