Files
romm/backend
Georges-Antoine Assi fb874c5c07 Make migrations resilient to interrupted table creation
On MySQL/MariaDB, DDL statements auto-commit and cannot be rolled back.
If a migration is interrupted after CREATE TABLE but before the Alembic
version stamp is written, the next run crashes with "table already exists"
causing a boot loop. This adds existence checks via create_table_if_not_exists
and drop_table_if_exists helpers to make all migrations re-runnable.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 12:54:03 -04:00
..
2026-04-06 11:22:44 -04:00
2026-02-09 17:26:21 -05:00
2026-04-07 22:53:44 -04:00
2025-10-03 11:13:16 -04:00
2026-02-03 17:09:21 -05:00
2026-03-22 17:17:14 -04:00
2026-04-07 22:32:40 -04:00
2025-08-02 17:55:43 -04:00
2025-07-05 19:17:40 -04:00
2026-03-08 14:56:56 -04:00
2026-03-14 22:13:38 -04:00
2026-03-21 22:57:44 -04:00