Skip to content

alembic check fails when not generating empty migration scripts #1332

Discussion options

You must be logged in to vote

Hi,

For that, I am currently testing the snippet proposed here,

the issue seems to be in the snippet.
try using if getattr(config.cmd_opts, 'autogenerate', False):.

If that work we can update the snippet

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@BayerSe
Comment options

@CaselIT
Comment options

@zzzeek
Comment options

@CaselIT
Comment options

Answer selected by BayerSe
Comment options

You must be logged in to vote
1 reply
@BayerSe
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