mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +00:00
ensure literal_binds is set in order
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
This commit is contained in:
@@ -65,8 +65,9 @@ def run_migrations_offline():
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
connectable = config.attributes.get('connection', None)
|
connectable = config.attributes.get('connection', None)
|
||||||
config_opts = dict(literal_binds=True)
|
config_opts = {}
|
||||||
config_opts.update(common_config_opts)
|
config_opts.update(common_config_opts)
|
||||||
|
config_opts["literal_binds"] = True
|
||||||
|
|
||||||
if connectable is None:
|
if connectable is None:
|
||||||
config_opts["url"] = config.get_main_option("sqlalchemy.url")
|
config_opts["url"] = config.get_main_option("sqlalchemy.url")
|
||||||
|
Reference in New Issue
Block a user