Skip to content

Commit

Permalink
Only update executions, don't delete
Browse files Browse the repository at this point in the history
  • Loading branch information
IKCAP committed Dec 10, 2020
1 parent 07dec6e commit b19e833
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/classes/graphql/queries/execution/new.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ mutation new_executions ($ids: [uuid!]!, $tmid: uuid!, $executions: [execution_i
delete_thread_model_execution(where: {_and: {thread_model_id: {_eq: $tmid}, execution_id: {_in: $ids}}}) {
affected_rows
}
delete_execution(where: {id: {_in: $ids}}) {
affected_rows
}
#delete_execution(where: {id: {_in: $ids}}) {
# affected_rows
#}
# Insert new executions
insert_execution (
objects: $executions,
Expand Down

0 comments on commit b19e833

Please # to comment.