Skip to content

Autogenerated migration script does not include postgreSQL schema name in enum type #1417

Discussion options

You must be logged in to vote

Hi,

You need to set https://docs.sqlalchemy.org/en/20/core/type_basics.html#sqlalchemy.types.Enum.params.inherit_schema to true fir the enum to inherit the schema.

@zzzeek why is that flag not set to true by default? Could it be a change for sqlalchemy 2.1?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@TheShubhendra
Comment options

Answer selected by TheShubhendra
Comment options

You must be logged in to vote
1 reply
@CaselIT
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants