Changeset 0.23.2 (#155)
This commit is contained in:
10
server/database/migrations/017_unread.sql
Normal file
10
server/database/migrations/017_unread.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- ==========================================
|
||||
-- Chat Switchboard — 017 Unread Counts
|
||||
-- ==========================================
|
||||
-- Adds last_read_message_id to channel_participants for
|
||||
-- per-user unread count computation.
|
||||
-- ICD §3 (Channels & Conversations) — v0.23.2
|
||||
-- ==========================================
|
||||
|
||||
ALTER TABLE channel_participants
|
||||
ADD COLUMN IF NOT EXISTS last_read_message_id UUID;
|
||||
3
server/database/migrations/sqlite/017_unread.sql
Normal file
3
server/database/migrations/sqlite/017_unread.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- Chat Switchboard — 017 Unread Counts (SQLite)
|
||||
|
||||
ALTER TABLE channel_participants ADD COLUMN last_read_message_id TEXT;
|
||||
Reference in New Issue
Block a user