Fixed notifications, It shows when you get get a

message and from who
This commit is contained in:
2026-06-23 09:59:53 +02:00
parent ba947cea87
commit 491ff52b90
5 changed files with 32 additions and 2 deletions
@@ -0,0 +1,4 @@
ALTER TABLE notifications ADD COLUMN IF NOT EXISTS context_id UUID;
ALTER TABLE notifications ADD COLUMN IF NOT EXISTS context_type VARCHAR(50);
CREATE INDEX IF NOT EXISTS idx_notifications_context ON notifications(context_type, context_id) WHERE context_type IS NOT NULL;