Files
Newbie_CRM/database/migrations/005_last_read_at.sql
T
2026-06-26 14:24:59 +02:00

2 lines
174 B
SQL

ALTER TABLE conversation_participants ADD COLUMN IF NOT EXISTS last_read_at TIMESTAMPTZ;
UPDATE conversation_participants SET last_read_at = NOW() WHERE last_read_at IS NULL;