We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5217c95 commit b525124Copy full SHA for b525124
backend/alembic/env.py
@@ -39,7 +39,9 @@
39
target_metadata = MappedBase.metadata
40
41
# other values from the config, defined by the needs of env.py,
42
-alembic_config.set_main_option('sqlalchemy.url', SQLALCHEMY_DATABASE_URL.render_as_string(hide_password=False))
+alembic_config.set_main_option(
43
+ 'sqlalchemy.url', SQLALCHEMY_DATABASE_URL.render_as_string(hide_password=False).replace('%', '%%')
44
+)
45
46
47
def run_migrations_offline():
0 commit comments