Fix : Alembic migration for scheduled query from older to newer version (#4709)

This commit is contained in:
Satyam Krishna 2020-03-08 21:11:21 +05:30 committed by GitHub
parent bf3095c794
commit 75cc6b3f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ def upgrade():
schedule_json["interval"] = 86400
schedule_json["time"] = query.old_schedule
else:
schedule_json["interval"] = query.old_schedule
schedule_json["interval"] = int(query.old_schedule)
conn.execute(
queries.update()