Add the shared domain event bus.

This commit is contained in:
2026-07-19 13:48:03 +02:00
parent 429f471e4e
commit a2abb901cd
28 changed files with 1534 additions and 65 deletions

View File

@@ -0,0 +1,3 @@
DROP INDEX IF EXISTS db_notifications_prune_idx;
DROP INDEX IF EXISTS db_notifications_unseen_cli_idx;
ALTER TABLE db_notifications DROP COLUMN project_id;

View File

@@ -0,0 +1,7 @@
ALTER TABLE db_notifications ADD COLUMN project_id TEXT;
CREATE INDEX db_notifications_unseen_cli_idx
ON db_notifications (from_cli, seen_at, created_at);
CREATE INDEX db_notifications_prune_idx
ON db_notifications (seen_at, created_at);