# Path: app.py
# def make_celery(app):
#         def __call__(self, *args, **kwargs):
# def create_app():
# def create_test_app():
#     class ContextTask(TaskBase):


from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
from app import db
from __future__ import with_statement

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config

# Interpret the config file for Python logging.
# This line sets up loggers basically.
fileConfig(config.config_file_name)

# add your model's MetaData object here
# for 'autogenerate' support
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata

# Path: app.py
# def make_celery(app):
#         def __call__(self, *args, **kwargs):
# def create_app():
# def create_test_app():
#     class ContextTask(TaskBase):


# Path: alembic/env.py
from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
from app import db

from __future__ import with_statement

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config

# Interpret the config file for Python logging.
# This line sets up loggers basically.
fileConfig(config.config_file_name)

# add your model's MetaData object here
# for 'autogenerate' support
# from myapp import mymodel
# target_metadata = mymodel.Base.metadata

target_metadata = db.Model.metadata