Edit File: env.cpython-37.pyc
B @��c� � @ s| d dl mZ d dl mZ d dlmZ d dlmZ d dlmZ ej Z ee j � ejZdd� Z dd � Ze�� rre � ne� d S )� )�with_statement)�absolute_import)�context)� fileConfig)�Basec C s: t �d�} tj| tdd� t�� � t�� W dQ R X dS )aF 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. zsqlalchemy.urlT)�url�target_metadataZ literal_bindsN)�configZget_main_optionr � configurer �begin_transaction�run_migrations)r � r �N/opt/alt/python37/lib/python3.7/site-packages/lvestats/utils/dbmigrator/env.py�run_migrations_offline"