mirror of
https://github.com/multica-ai/multica.git
synced 2026-06-17 11:48:42 +02:00
The renumbered 012_inbox_actor migration fails on databases where the old 009_inbox_actor was already applied, since actor_type and actor_id columns already exist. Use IF NOT EXISTS to handle both cases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 lines
128 B
SQL
3 lines
128 B
SQL
ALTER TABLE inbox_item ADD COLUMN IF NOT EXISTS actor_type TEXT;
|
|
ALTER TABLE inbox_item ADD COLUMN IF NOT EXISTS actor_id UUID;
|