fix(schema): remove unused ENUM types from PostgreSQL during downgrade

This commit is contained in:
2026-05-20 11:59:32 -05:00
parent 7e9af20f85
commit f18532087f
2 changed files with 9 additions and 0 deletions

View File

@@ -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")

View File

@@ -1,3 +1,6 @@
packages:
- '.'
onlyBuiltDependencies:
- esbuild
- '@tailwindcss/oxide'