Pogchamp-company/alembic-postgresql-enum

Use same schema as table or support specifying enum schema?

Closed this issue · 2 comments

Auto-generation puts the enums in the public schema, even if the table is in a different schema.

How can I change the schema that auto-generation compares against?

You can explicitly specify schema on your enum object like that sa.Enum(..., schema="your_schema")

Thank you ❤️