jenseng/hair_trigger

How do you drop a trigger?

Closed this issue · 2 comments

The readme mentions it, but without detail.
Thanks.

Hi @lassebunk, the method signature is:

drop_trigger trigger_name, table_name

e.g.

drop_trigger("enrollment_after_insert_set_role_id_if_role_name__tr", "enrollments")

I'll add a note to the README and then close this ticket

Okay – thanks.