Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Functions | |
def | run_migrations_offline () |
def | run_migrations_online () |
Variables | |
Base = declarative_base(metadata=meta) | |
config = context.config | |
logger = logging.getLogger('alembic.runtime.setup') | |
meta | |
below block is needed for mssql More... | |
target_metadata = None | |
def run_migrations_offline | ( | ) |
Run migrations in 'offline' mode. This configures the context with just a URL and not an Engine, though an Engine is acceptable here as well. By skipping the Engine creation we don't even need a DBAPI to be available. Calls to context.execute() here emit the given string to the script output.
Definition at line 45 of file cdr/env.py.
Referenced by run_migrations_online().
def run_migrations_online | ( | ) |
Run migrations in 'online' mode. In this scenario we need to create an Engine and associate a connection with the context.
Definition at line 63 of file cdr/env.py.
References run_migrations_offline(), and run_migrations_online().
Referenced by run_migrations_online().
Base = declarative_base(metadata=meta) |
Definition at line 29 of file cdr/env.py.
config = context.config |
Definition at line 12 of file cdr/env.py.
logger = logging.getLogger('alembic.runtime.setup') |
Definition at line 31 of file cdr/env.py.
meta |
below block is needed for mssql
Definition at line 22 of file cdr/env.py.
Referenced by nroot(), send_trunk(), socket_process_helper(), and socket_process_meta().
target_metadata = None |
Definition at line 36 of file cdr/env.py.