Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alembic/templates/async/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Interpret the config file for Python logging.
# This line sets up loggers basically.
if config.config_file_name is not None:
fileConfig(config.config_file_name)
fileConfig(config.config_file_name, defaults=config.config_args)

# add your model's MetaData object here
# for 'autogenerate' support
Expand Down
2 changes: 1 addition & 1 deletion alembic/templates/generic/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Interpret the config file for Python logging.
# This line sets up loggers basically.
if config.config_file_name is not None:
fileConfig(config.config_file_name)
fileConfig(config.config_file_name, defaults=config.config_args)

# add your model's MetaData object here
# for 'autogenerate' support
Expand Down
2 changes: 1 addition & 1 deletion alembic/templates/multidb/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# Interpret the config file for Python logging.
# This line sets up loggers basically.
if config.config_file_name is not None:
fileConfig(config.config_file_name)
fileConfig(config.config_file_name, defaults=config.config_args)
logger = logging.getLogger("alembic.env")

# gather section names referring to different
Expand Down
2 changes: 1 addition & 1 deletion alembic/templates/pyproject/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Interpret the config file for Python logging.
# This line sets up loggers basically.
if config.config_file_name is not None:
fileConfig(config.config_file_name)
fileConfig(config.config_file_name, defaults=config.config_args)

# add your model's MetaData object here
# for 'autogenerate' support
Expand Down