Update only the control with the operations value to update when migrating
Closes #13499
This commit is contained in:
@@ -227,7 +227,8 @@ class Control(DeactivableMixin, MatchMixin, ModelSQL, ModelView):
|
||||
for id_, operations in cursor:
|
||||
update.execute(*table.update(
|
||||
[table.operations],
|
||||
operations.replace(old, new)))
|
||||
operations.replace(old, new),
|
||||
where=table.id == id_))
|
||||
|
||||
@classmethod
|
||||
def default_frequency(cls):
|
||||
|
||||
Reference in New Issue
Block a user