users_before_delete.sql 212 B

1234567
  1. drop trigger if exists users_before_delete;
  2. DELIMITER //
  3. create trigger users_before_delete before delete on users
  4. for each row begin
  5. delete from dbr_user_ext where id = old.id;
  6. end//
  7. DELIMITER ;