Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled
Replace all sa.Enum / op.create_table / ALTER TABLE approach with a single op.execute() containing raw DDL. This sidesteps every SQLAlchemy hook (enum auto-create, default cast conflicts) by letting PostgreSQL handle CREATE TYPE IF NOT EXISTS, CREATE TABLE IF NOT EXISTS, and CREATE INDEX IF NOT EXISTS directly.