IDEMPIERE-3850 AP2-4 1008281 Performance improvement: implement reporting from read-only replica (from TrekGlobal)

This commit is contained in:
Carlos Ruiz 2019-02-28 11:50:03 +01:00
parent 464f7ec441
commit e0d96ee600
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,5 @@
-- IDEMPIERE-3850 AP2-4 1008281 - not required for oracle
SELECT register_migration_script('201902281146_IDEMPIERE-3850.sql') FROM dual
;

View File

@ -0,0 +1,9 @@
-- IDEMPIERE-3850 AP2-4 1008281 - Implement reporting from read-only replica
CREATE OR REPLACE RULE insert_dbreplicasyncverifier AS ON INSERT TO dbreplicasyncverifier DO INSTEAD NOTHING;
CREATE OR REPLACE RULE delete_dbreplicasyncverifier AS ON DELETE TO dbreplicasyncverifier DO INSTEAD NOTHING;
SELECT register_migration_script('201902281146_IDEMPIERE-3850.sql') FROM dual
;