10587 temp commit

This commit is contained in:
Arthur 2024-02-28 15:53:15 -08:00
parent 4e0c99b8b0
commit c027c4fa24

View File

@ -96,7 +96,7 @@ def update_scripts(apps, schema_editor):
# Update all Jobs associated with this ScriptModule & script name to point to the new Script object # Update all Jobs associated with this ScriptModule & script name to point to the new Script object
Job.objects.filter( Job.objects.filter(
object_type=scriptmodule_ct, object_type_id=scriptmodule_ct.id,
object_id=module.pk, object_id=module.pk,
name=script_name name=script_name
).update(object_type_id=script_ct.id, object_id=script.pk) ).update(object_type_id=script_ct.id, object_id=script.pk)