Files
evig/scripts
GandClaude Opus 4.8 0447aa76bb fix(db): drop empty orphan technician_profiles before rename (migration 105) (#177)
The first deploy of migration 105 failed: prod has an empty orphan
`technician_profiles` table (created by 002b-simplified-auth, never adopted —
live data is in repairer_profiles), so the rename errored "relation already
exists". The page-render gate aborted cleanly (prod stayed on the prior release;
the failed migration rolled back atomically, never recorded).

Fix: DROP TABLE IF EXISTS technician_profiles (0 rows, no inbound FKs) before the
renames. Verified on prod with BEGIN…ROLLBACK — renames apply cleanly.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 02:01:08 +02:00
..
…