|L i7ddlmZddlmZddlmZddlmZejZejeejdZ ddZ ddZ ejre ye y) ) fileConfig)engine_from_config)pool)contextNctjd}tj|tddditj 5tj dddy#1swYyxYw)aFRun 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 paramstylenamed)urltarget_metadata literal_binds dialect_optsN)configget_main_optionr configurer begin_transactionrun_migrations)r s e/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/alembic/templates/pyproject/env.pyrun_migrations_offlinersc  !1 2C  '"G,   " " $! !!!s A''A0czttjtjidtj }|j 5}tj|ttj5tjddddddy#1swYxYw#1swYyxYw)zRun migrations in 'online' mode. In this scenario we need to create an Engine and associate a connection with the context. z sqlalchemy.)prefix poolclass) connectionr N) rr get_sectionconfig_ini_sectionrNullPoolconnectrrr rr) connectablers rrun_migrations_onliner5s%644b9--K    %*!?  & & ( %  " " $ % %%  % % %%s$0B1?B%B1%B. *B11B:)returnN) logging.configr sqlalchemyrralembicrrconfig_file_namer rris_offline_moderr'se%)  &v&&' !0%,7r&