[open-ils-commits] r9388 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Apr 19 23:48:08 EDT 2008
Author: dbs
Date: 2008-04-19 23:09:22 -0400 (Sat, 19 Apr 2008)
New Revision: 9388
Modified:
trunk/Open-ILS/src/sql/Pg/110.hold_matrix.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Use 950.data.seed-values.sql to avoid referential integrity errors
Modified: trunk/Open-ILS/src/sql/Pg/110.hold_matrix.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/110.hold_matrix.sql 2008-04-19 19:03:23 UTC (rev 9387)
+++ trunk/Open-ILS/src/sql/Pg/110.hold_matrix.sql 2008-04-20 03:09:22 UTC (rev 9388)
@@ -34,8 +34,6 @@
CONSTRAINT hous_once_per_grp_loc_mod_marc UNIQUE (user_home_ou, request_ou, pickup_ou, item_owning_ou, item_circ_ou, requestor_grp, usr_grp, circ_modifier, marc_type, marc_form, marc_vr_format)
);
-INSERT INTO config.hold_matrix_matchpoint (requestor_grp) VALUES (1);
-
-- Tests to determine if hold against a specific copy is possible for a user at (and from) a location
CREATE TABLE config.hold_matrix_test (
matchpoint INT PRIMARY KEY REFERENCES config.hold_matrix_matchpoint (id),
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2008-04-19 19:03:23 UTC (rev 9387)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2008-04-20 03:09:22 UTC (rev 9388)
@@ -1259,6 +1259,10 @@
INSERT INTO config.circ_matrix_matchpoint (org_unit,grp) VALUES (1,1);
INSERT INTO config.circ_matrix_ruleset (matchpoint,duration_rule,recurring_fine_rule,max_fine_rule) VALUES (1,11,1,1);
+
+-- hold matrix - 110.hold_matrix.sql:
+INSERT INTO config.hold_matrix_matchpoint (requestor_grp) VALUES (1);
+
-- Staged Search (for default matchpoints)
INSERT INTO search.relevance_adjustment (field, bump_type, multiplier) VALUES(1, 'first_word', 1.5);
INSERT INTO search.relevance_adjustment (field, bump_type, multiplier) VALUES(1, 'full_match', 20);
More information about the open-ils-commits
mailing list