 
 
 --
+-- Name: synchronize_jei_with_entry; Type: TRIGGER; Schema: public; Owner: -
+--
+
+CREATE TRIGGER synchronize_jei_with_entry AFTER INSERT OR UPDATE ON journal_entry_items FOR EACH ROW EXECUTE PROCEDURE synchronize_jei_with_entry('jei');
+
+
+--
+-- Name: synchronize_jeis_of_entry; Type: TRIGGER; Schema: public; Owner: -
+--
+
+CREATE TRIGGER synchronize_jeis_of_entry AFTER INSERT OR UPDATE ON journal_entries FOR EACH ROW EXECUTE PROCEDURE synchronize_jei_with_entry('entry');
+
+
+--
 -- Name: fk_rails_02f6ec2213; Type: FK CONSTRAINT; Schema: public; Owner: -
 --
 

INSERT INTO schema_migrations (version) VALUES ('20170414092904');

INSERT INTO schema_migrations (version) VALUES ('20170421131536');



--
-- Name: fk_rails_3143e6e260; Type: FK CONSTRAINT; Schema: public; Owner: -
--

