Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DELIMITER $$
- CREATE TRIGGER blacklist UPDATE ON subscribers
- FOR EACH ROW BEGIN
- IF (NEW.complaint = 1) THEN
- INSERT INTO `sendy`.`subscribers` (`userID`, `email`, `list`, `unsubscribed`, `bounced`, `complaint`, `confirmed`) VALUES ('1', OLD.email, '16', '1', '1', '1', '1');
- END IF;
- END$$
- DELIMITER ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement