fix(schema): remove unused ENUM types from PostgreSQL during downgrade
This commit is contained in:
@@ -5083,3 +5083,9 @@ def downgrade() -> None:
|
||||
op.drop_index(op.f('ix_a24_inv_aphis_catalog_company_id'), table_name='inv_aphis_catalog', schema='a24')
|
||||
op.drop_table('inv_aphis_catalog', schema='a24')
|
||||
# ### end Alembic commands ###
|
||||
|
||||
# Eliminar ENUM types de PostgreSQL — no se borran automáticamente con las tablas
|
||||
op.execute("DROP TYPE IF EXISTS tenanttype")
|
||||
op.execute("DROP TYPE IF EXISTS licenseplan")
|
||||
op.execute("DROP TYPE IF EXISTS licensestatus")
|
||||
op.execute("DROP TYPE IF EXISTS entity_client_or_provider")
|
||||
|
||||
Reference in New Issue
Block a user