# Path: pgcontents/schema.py



from alembic import context
from logging.config import fileConfig
from sqlalchemy import engine_from_config, pool
from os.path import dirname, abspath
from pgcontents.schema import metadata
import sys
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
sys.path.append(dirname(dirname(dirname(abspath(__file__)))))

target_metadata = metadata

# 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: pgcontents/schema.py



# Path: pgcontents/alembic/env.py
from alembic import context
from logging.config import fileConfig
from sqlalchemy import engine_from_config, pool
from os.path import dirname, abspath
from pgcontents.schema import metadata
import sys

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
sys.path.append(dirname(dirname(dirname(abspath(__file__)))))

target_metadata = metadata

# 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.

include_schemas = True