Fix DB migration erro with Azure PostgreSQL Password with Langflow v0.6.14 (#1711)
The error caused by @ symbol in postgresql pasword fixed
This commit is contained in:
parent
9c292af183
commit
24d5c482f0
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class DatabaseService(Service):
|
|||
alembic_cfg = Config(stdout=buffer)
|
||||
# alembic_cfg.attributes["connection"] = session
|
||||
alembic_cfg.set_main_option("script_location", str(self.script_location))
|
||||
alembic_cfg.set_main_option("sqlalchemy.url", self.database_url)
|
||||
alembic_cfg.set_main_option("sqlalchemy.url", self.database_url.replace('%', '%%'))
|
||||
|
||||
should_initialize_alembic = False
|
||||
with Session(self.engine) as session:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue