Stamping upgrade scripts for Vandelay default match set, with minor adjustments
authorMike Rylander <mrylander@gmail.com>
Wed, 27 Feb 2013 15:46:00 +0000 (10:46 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 27 Feb 2013 15:46:00 +0000 (10:46 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/0758.data.vandelay-default-match-set.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-match-set.sql [deleted file]

index af1a771..10ad215 100644 (file)
@@ -87,7 +87,7 @@ CREATE TRIGGER no_overlapping_deps
     BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0757', :eg_version); -- tsbere/senator
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0758', :eg_version); -- jeff davis / miker
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
index 95f0f5c..37e0d32 100644 (file)
@@ -4725,13 +4725,13 @@ INSERT into config.org_unit_setting_type
 ,( 'vandelay.default_match_set', 'vandelay',
     oils_i18n_gettext(
         'vandelay.default_match_set',
-        'Vandelay: Default Record Match Set',
+        'Default Record Match Set',
         'coust',
         'label'
     ),
     oils_i18n_gettext(
         'vandelay.default_match_set',
-        'Vandelay: Default Record Match Set',
+        'Default Record Match Set',
         'coust',
         'description'
     ),
diff --git a/Open-ILS/src/sql/Pg/upgrade/0758.data.vandelay-default-match-set.sql b/Open-ILS/src/sql/Pg/upgrade/0758.data.vandelay-default-match-set.sql
new file mode 100644 (file)
index 0000000..334f90a
--- /dev/null
@@ -0,0 +1,11 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0758', :eg_version);
+
+INSERT INTO config.settings_group (name, label) VALUES
+    ('vandelay', 'Vandelay');
+
+INSERT INTO config.org_unit_setting_type (name, grp, label, datatype, fm_class) VALUES
+    ('vandelay.default_match_set', 'vandelay', 'Default Record Match Set', 'link', 'vms');
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-match-set.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-match-set.sql
deleted file mode 100644 (file)
index 32db333..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.settings_group (name, label) VALUES
-    ('vandelay', 'Vandelay');
-
-INSERT INTO config.org_unit_setting_type (name, grp, label, datatype, fm_class) VALUES
-    ('vandelay.default_match_set', 'vandelay', 'Vandelay: Default Record Match Set', 'link', 'vms');
-
-COMMIT;