]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- ensure that target_metadata is also present in the offline migration context,
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Mar 2014 14:17:37 +0000 (10:17 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Mar 2014 14:17:37 +0000 (10:17 -0400)
commitefdf9e408fb10049de5effd3dade6fa276190c4b
treee48b75b7822c43499b2aa5987366d9849e3828a5
parent4bb4d50b8ace9ca17bf4239c584e6afae83d6fbc
- ensure that target_metadata is also present in the offline migration context,
so that --sql mode gets access to naming conventions also.
existing environments need to add target_metadata to the offline migration
context manually.
fixes #189
alembic/templates/generic/env.py
alembic/templates/multidb/env.py
alembic/templates/pylons/env.py