Skip to content

Commit

Permalink
Fixing exeption on insert into migration table.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilo087 committed Jul 2, 2021
1 parent 4d2d069 commit f8f2895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pladmin/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def updateMigration(self, data, db=None):

output = ""
if "output" in data:
output = "OUTPUT = '%s', " % data["output"]
output = "OUTPUT = '%s', " % data["output"].replace("'", " ")

sql = """UPDATE %s.PLADMIN_MIGRATIONS SET %s %s EXECUTED_AT=SYSDATE WHERE name = '%s' """ % (
self.db_main_schema,
Expand Down

0 comments on commit f8f2895

Please sign in to comment.