feature(api): add mutation to update task group location

This commit is contained in:
Jordan Knott
2020-04-10 21:47:43 -05:00
parent bd73717deb
commit bd878c9c64
8 changed files with 169 additions and 11 deletions

View File

@ -10,3 +10,6 @@ SELECT * FROM task_group;
-- name: GetTaskGroupByID :one
SELECT * FROM task_group WHERE task_group_id = $1;
-- name: UpdateTaskGroupLocation :one
UPDATE task_group SET position = $2 WHERE task_group_id = $1 RETURNING *;