mirror of
https://github.com/nearai/ironclaw.git
synced 2026-09-03 08:06:01 +08:00
Production PostgreSQL already has V15__conversation_source_channel applied. Renumber to match: V15=conversation_source_channel, V16=user_identities, V17=document_versions. Update libSQL incremental migrations and idempotent list to match. The V15 repair still handles databases that mis-recorded V15 as "document_versions". Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5 lines
264 B
SQL
5 lines
264 B
SQL
-- Add source_channel to conversations for cross-channel approval authorization.
|
|
-- Tracks which channel originally created a conversation so that approval
|
|
-- messages from other channels can be validated.
|
|
ALTER TABLE conversations ADD COLUMN source_channel TEXT;
|