diff options
Diffstat (limited to 'migrations/env.py')
-rw-r--r-- | migrations/env.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/migrations/env.py b/migrations/env.py index cbfe86d4..4ac6ad53 100644 --- a/migrations/env.py +++ b/migrations/env.py @@ -1,13 +1,12 @@ -from __future__ import with_statement - from alembic import context +from flask import current_app +from sqlalchemy import engine_from_config +from sqlalchemy import pool # add your model's MetaData object here # for 'autogenerate' support # from myapp import mymodel # target_metadata = mymodel.Base.metadata -from flask import current_app -from sqlalchemy import engine_from_config, pool # this is the Alembic Config object, which provides # access to the values within the .ini file in use. |