genio_before_delete.sql 221 B

1234567
  1. drop trigger if exists genio_before_delete;
  2. DELIMITER //
  3. create trigger genio_before_delete after delete on dbr_genio
  4. for each row begin
  5. delete from dbr_genio_bd where genio_id = old.id;
  6. END//
  7. DELIMITER ;