I'm trying to remove multiple triggers but getting a SQL error:
PG::Error: ERROR: syntax error at or near ";"
LINE 1: DROP TRIGGER rr_admin_reports;
Here is the sql I'm executing in rails:
sql = <<-SQL
DROP TRIGGER rr_admin_reports;
DROP TRIGGER rr_apps;
DROP TRIGGER rr_attachments;
SQL
Is there a way to easily delete a long list of triggers? Thanks