mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 20:45:37 +02:00
Renumber the six VCS migrations off the 213/214/215 prefix collisions to a unique contiguous tail 216-221 (tables before indexes), and make 214_chat_session_project idempotent (ADD COLUMN IF NOT EXISTS) so the #5868 rename-induced re-run no-ops instead of crashing. Fixes the red migration lint on main and unblocks the dev deploy.
5 lines
239 B
SQL
5 lines
239 B
SQL
-- Single statement: CREATE INDEX CONCURRENTLY cannot run inside a transaction
|
|
-- or share a multi-command migration file.
|
|
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_vcs_commit_status_lookup
|
|
ON vcs_commit_status (connection_id, sha);
|