Skip to content

Alembic Autogenerate Creates New Table Scripts Instead of Adding Column to Existing Table #1416

Discussion options

You must be logged in to vote

the env.py file is missing from that repository, but I'm assuming it's the default one generated by alembic.

You have to add include_schemas=True to context.configure since you are using schemas

@zzzeek it seems strange though that if include schema is not set the compare is not happening correctly

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@TheShubhendra
Comment options

@CaselIT
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@CaselIT
Comment options

@TheShubhendra
Comment options

@TheShubhendra
Comment options

@CaselIT
Comment options

Answer selected by TheShubhendra
@kartikarcot
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
Converted from issue

This discussion was converted from issue #1415 on February 06, 2024 08:26.