title: how to test whether a trigger is fired in Codeigniter 3
body: <p>I am using doctrine2 in Codeigniter 3.  I have a trigger for order table where I want to automatically dump data after I inserted some data in order_replica table. This is my trigger which is not working and I do not know how to test trigger. Please help me to solve this issue.</p>
  
  <pre><code>DELIMITER @@
  DROP TRIGGER IF EXISTS after_insert_order_replica;
  @@
  CREATE TRIGGER `after_insert_order_replica` AFTER INSERT ON `order_replica`
   FOR EACH ROW BEGIN
          INSERT INTO order (replica_id) VALUES (NEW.id);
  END;
  @@
  DELIMITER ;
  </code></pre>