Skip to content

Commit

Permalink
fix: edit the deleting function
Browse files Browse the repository at this point in the history
Closes: #218
  • Loading branch information
ColinRgm committed Jan 13, 2025
1 parent a9cd989 commit 405260c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CREATE FUNCTION api.delete_esp_data_and_esp()
BEGIN

-- DELETE on data and esp tables
DELETE FROM api.data WHERE id_esp = ${id};
DELETE FROM api.data WHERE esp_id = ${id};
DELETE FROM api.esp WHERE id = ${id};

END;
Expand Down

0 comments on commit 405260c

Please sign in to comment.