Stamping default-merge-profiles upgrade script
authorMike Rylander <mrylander@gmail.com>
Tue, 28 Feb 2012 19:58:38 +0000 (14:58 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 28 Feb 2012 19:58:38 +0000 (14:58 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0678.data.vandelay-default-merge-profiles.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-merge-profiles.sql [deleted file]

index 739754f..3eba010 100644 (file)
@@ -86,7 +86,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 ('0677', :eg_version); -- tsbere/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0678', :eg_version); -- berick/miker
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0678.data.vandelay-default-merge-profiles.sql b/Open-ILS/src/sql/Pg/upgrade/0678.data.vandelay-default-merge-profiles.sql
new file mode 100644 (file)
index 0000000..81ca4b9
--- /dev/null
@@ -0,0 +1,14 @@
+-- Evergreen DB patch 0678.data.vandelay-default-merge-profiles.sql
+BEGIN;
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('0678', :eg_version);
+
+INSERT INTO vandelay.merge_profile (owner, name, replace_spec) 
+    VALUES (1, 'Match-Only Merge', '901c');
+
+INSERT INTO vandelay.merge_profile (owner, name, preserve_spec) 
+    VALUES (1, 'Full Overlay', '901c');
+
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-merge-profiles.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.vandelay-default-merge-profiles.sql
deleted file mode 100644 (file)
index df3d014..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
--- Evergreen DB patch XXXX.data.vandelay-default-merge-profiles.sql
-BEGIN;
-
--- check whether patch can be applied
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO vandelay.merge_profile (owner, name, replace_spec) 
-    VALUES (1, 'Match-Only Merge', '901c');
-
-INSERT INTO vandelay.merge_profile (owner, name, preserve_spec) 
-    VALUES (1, 'Full Overlay', '901c');
-
-
-COMMIT;