Skip to content

Commit

Permalink
example: fix trigger name.
Browse files Browse the repository at this point in the history
  • Loading branch information
thruflo committed Dec 9, 2024
1 parent 255da54 commit c581374
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,7 @@ END;
$$ LANGUAGE plpgsql;

CREATE OR REPLACE TRIGGER delete_local_on_synced_insert
AFTER INSERT ON todos_synced
FOR EACH ROW
EXECUTE FUNCTION delete_local_on_synced_insert_trigger();

CREATE OR REPLACE TRIGGER delete_local_on_synced_insert_and_update
AFTER UPDATE ON todos_synced
AFTER INSERT OR UPDATE ON todos_synced
FOR EACH ROW
EXECUTE FUNCTION delete_local_on_synced_insert_and_update_trigger();

Expand Down

0 comments on commit c581374

Please sign in to comment.