Asterisk - The Open Source Telephony Project
18.5.0
|
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 env.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 env.py.
Referenced by run_migrations_online().
def env.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 env.py.
References run_migrations_offline().
meta |
below block is needed for mssql
Definition at line 22 of file env.py.
Referenced by nroot(), send_trunk(), and socket_process_helper().