[open-ils-commits] r15072 - in trunk/Open-ILS/src/sql/Pg: . upgrade (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 3 16:52:05 EST 2009
Author: miker
Date: 2009-12-03 16:51:59 -0500 (Thu, 03 Dec 2009)
New Revision: 15072
Modified:
trunk/Open-ILS/src/sql/Pg/095.schema.booking.sql
trunk/Open-ILS/src/sql/Pg/upgrade/0105.schema.booking-integration.sql
Log:
overzealous replace spotted by Lebbeous
Modified: trunk/Open-ILS/src/sql/Pg/095.schema.booking.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/095.schema.booking.sql 2009-12-03 21:29:05 UTC (rev 15071)
+++ trunk/Open-ILS/src/sql/Pg/095.schema.booking.sql 2009-12-03 21:51:59 UTC (rev 15072)
@@ -137,9 +137,9 @@
FOREIGN KEY (usr) REFERENCES actor.usr (id)
DEFERRABLE INITIALLY DEFERRED;
-CREATE TRIGGER mat_summary_create_tgr AFTER INSERT ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE booking.mat_summary_create ('reservation');
-CREATE TRIGGER mat_summary_change_tgr AFTER UPDATE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE booking.mat_summary_update ();
-CREATE TRIGGER mat_summary_remove_tgr AFTER DELETE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE booking.mat_summary_delete ();
+CREATE TRIGGER mat_summary_create_tgr AFTER INSERT ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE money.mat_summary_create ('reservation');
+CREATE TRIGGER mat_summary_change_tgr AFTER UPDATE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE money.mat_summary_update ();
+CREATE TRIGGER mat_summary_remove_tgr AFTER DELETE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE money.mat_summary_delete ();
CREATE TABLE booking.reservation_attr_value_map (
Modified: trunk/Open-ILS/src/sql/Pg/upgrade/0105.schema.booking-integration.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0105.schema.booking-integration.sql 2009-12-03 21:29:05 UTC (rev 15071)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0105.schema.booking-integration.sql 2009-12-03 21:51:59 UTC (rev 15072)
@@ -2,9 +2,9 @@
INSERT INTO config.upgrade_log (version) VALUES ('0105'); -- miker
-CREATE TRIGGER mat_summary_create_tgr AFTER INSERT ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE booking.mat_summary_create ('reservation');
-CREATE TRIGGER mat_summary_change_tgr AFTER UPDATE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE booking.mat_summary_update ();
-CREATE TRIGGER mat_summary_remove_tgr AFTER DELETE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE booking.mat_summary_delete ();
+CREATE TRIGGER mat_summary_create_tgr AFTER INSERT ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE money.mat_summary_create ('reservation');
+CREATE TRIGGER mat_summary_change_tgr AFTER UPDATE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE money.mat_summary_update ();
+CREATE TRIGGER mat_summary_remove_tgr AFTER DELETE ON booking.reservation FOR EACH ROW EXECUTE PROCEDURE money.mat_summary_delete ();
CREATE OR REPLACE VIEW money.open_billable_xact_summary AS
SELECT xact.id AS id,
More information about the open-ils-commits
mailing list