INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL. 0005 (head) ALEMBIC_VERSION= 0005 CONSTRAINT= uq_financial_period CONSTRAINT_DEF= UNIQUE NULLS NOT DISTINCT (security_id, period_end, period_type, filing_date) DATABASE_0005=PASS