3 -- can not delete 'sent' notifications -- trick is to 'null the sent before deleting...
5 DROP TRIGGER IF EXISTS core_notify_trigger_after_delete;
9 CREATE TRIGGER core_notify_trigger_after_delete AFTER DELETE on core_notify
12 if old.sent is not null THEN
13 UPDATE `Error: Can not delete core_notify after it is sent` SET x = 1;