]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Raise exception if autogenerate is tried with as_sql=True
authorJohannes Erdfelt <johannes@erdfelt.com>
Thu, 15 Jan 2015 15:37:20 +0000 (07:37 -0800)
committerJohannes Erdfelt <johannes@erdfelt.com>
Mon, 23 Feb 2015 19:08:43 +0000 (11:08 -0800)
commit9e246542f53c6f470054a90585421ac725690bd7
tree3bb454d484e2c1356bbd602e367a90b2b87bd2f8
parent2108076362cc76130ae61e14c7a0120a1f0a59c8
Raise exception if autogenerate is tried with as_sql=True

This configuration is nonsensical since autogenerate needs to query
the database for schema information.

Fixes issue #266
alembic/autogenerate/api.py
tests/test_autogenerate.py