This commit is contained in:
WQY\qiong
2022-10-09 18:25:37 +08:00
parent 9accb467b2
commit 02cdbbf100

View File

@@ -14,7 +14,7 @@ def _remove_operation(name: str, id: int) -> None:
if row != None:
raise Exception('Disallow to remove parent operation !')
sql += f'delete from snapshot_operation where id = {id};'
sql = f'delete from snapshot_operation where id = {id};'
sql += f'delete from operation where id = {id}'
write(name, sql)