mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 04:58:16 -06:00
10587 temp commit
This commit is contained in:
parent
4e0c99b8b0
commit
c027c4fa24
@ -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
|
||||
Job.objects.filter(
|
||||
object_type=scriptmodule_ct,
|
||||
object_type_id=scriptmodule_ct.id,
|
||||
object_id=module.pk,
|
||||
name=script_name
|
||||
).update(object_type_id=script_ct.id, object_id=script.pk)
|
||||
|
Loading…
Reference in New Issue
Block a user