mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 09:05:17 +00:00
Fix : Alembic migration for scheduled query from older to newer version (#4709)
This commit is contained in:
parent
bf3095c794
commit
75cc6b3f53
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user