mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 05:07:31 +01:00
The sa.Enum() inline in create_table tried to CREATE TYPE again after the explicit ENUM.create() call. Use the pre-created enum variable with create_type=False for PostgreSQL to avoid DuplicateObject error. Verified locally: upgrade, downgrade, re-upgrade all clean on PostgreSQL.