@@ -399,6 +399,7 @@ def create_schedule(
399399 tags = schedule .tags ,
400400 periodicity = schedule .periodicity ,
401401 context = schedule .context ,
402+ offliner_definition_version = offliner_definition .version ,
402403 )
403404 schedule .history_entries .append (history_entry )
404405
@@ -531,6 +532,7 @@ def toggle_archive_status(
531532 periodicity = schedule .periodicity ,
532533 context = schedule .context ,
533534 archived = schedule .archived ,
535+ offliner_definition_version = schedule .offliner_definition .version ,
534536 )
535537 schedule .history_entries .append (history_entry )
536538 session .add (schedule )
@@ -599,6 +601,7 @@ def update_schedule(
599601 periodicity = schedule .periodicity ,
600602 context = schedule .context ,
601603 archived = schedule .archived ,
604+ offliner_definition_version = offliner_definition .version ,
602605 )
603606 schedule .history_entries .append (history_entry )
604607
@@ -642,6 +645,7 @@ def create_schedule_history_schema(
642645 context = history_entry .context ,
643646 config = history_entry .config ,
644647 archived = history_entry .archived ,
648+ offliner_definition_version = history_entry .offliner_definition_version ,
645649 )
646650
647651
0 commit comments