Files
orchard/backend/app
Mondo Diaz 9df50d0963 Add migration tracking with smart error detection
- Add _schema_migrations table to track applied migrations
- Each migration has a unique name and checksum
- Migrations are only run once (tracked by name)
- Checksum changes are detected and logged as warnings
- Smart error detection distinguishes "already applied" errors from real failures
- Real errors now fail hard with clear error messages
- Safe PostgreSQL error codes (42P07, 42701, 42710, 42P16) are recognized
- Fix semver migration to generate UUID for id column
2026-01-28 21:05:45 +00:00
..
2026-01-28 12:50:58 -06:00
2026-01-28 12:50:58 -06:00
2026-01-28 12:50:58 -06:00
2026-01-28 12:50:58 -06:00