# Path: suma/core/models/meta/base.py
# class Base(object):
#     @declared_attr
#     def __tablename__(cls):
#         return _camel_to_snake(cls.__name__)
# 
#     __table_args__ = {'schema': 'suma'}
# 
#     id = Column(Integer, primary_key=True)


from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
from suma.core.models.meta import Base
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)

target_metadata = Base.metadata

SECTION = 'DEFAULT'

# other values from the config, defined by the needs of env.py,
# can be acquired:
# my_important_option = config.get_main_option("my_important_option")
# ... etc.



# Path: suma/core/models/meta/base.py
# class Base(object):
#     @declared_attr
#     def __tablename__(cls):
#         return _camel_to_snake(cls.__name__)
# 
#     __table_args__ = {'schema': 'suma'}
# 
#     id = Column(Integer, primary_key=True)


# Path: suma/core/migrations/env.py
from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
from suma.core.models.meta import Base

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)

target_metadata = Base.metadata

SECTION = 'DEFAULT'

# other values from the config, defined by the needs of env.py,
# can be acquired:
# my_important_option = config.get_main_option("my_important_option")
# ... etc.



def run_migrations_offline():