Skip to content

Commit

Permalink
Also honour QWC_CONFIG_SCHEMA for version_table_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Aug 1, 2024
1 parent c09b9ed commit 52b46b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion alembic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ script_location = alembic
# output_encoding = utf-8

sqlalchemy.url = postgresql:///?service=%(PGSERVICE)s
version_table_schema = qwc_config
version_table_schema = %(QWC_CONFIG_SCHEMA)s


# Logging configuration
Expand Down
1 change: 1 addition & 0 deletions alembic/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Set variables for config
section = config.config_ini_section
config.set_section_option(section, "PGSERVICE", os.environ.get("PGSERVICE"))
config.set_section_option(section, "QWC_CONFIG_SCHEMA", os.environ.get("QWC_CONFIG_SCHEMA", "qwc_config"))

# Interpret the config file for Python logging.
# This line sets up loggers basically.
Expand Down

0 comments on commit 52b46b4

Please sign in to comment.