Files
portal/.github/workflows
Дмитрий 14c98c37c2 fix(ci/deploy): drop ON CONFLICT on migrations marker INSERT (table has no UNIQUE)
Run 26566803068 created project_routing_snapshots successfully on prod (CREATE TABLE
+ partitions + RLS + GRANTs all committed). Marker INSERT into migrations table
failed: "there is no unique or exclusion constraint matching the ON CONFLICT specification"
because Laravel's migrations table has no UNIQUE on `migration` column.

Replaced with INSERT...SELECT WHERE NOT EXISTS for idempotency.

Table is now LIVE on prod — next workflow run will skip the CREATE block (TABLE_EXISTS
check passes) and go straight to the now-fixed marker INSERT.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 12:38:52 +03:00
..