LP 1134829 - stamping upgrade script
authorBill Erickson <berick@esilibrary.com>
Wed, 13 Mar 2013 17:33:05 +0000 (13:33 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 13 Mar 2013 17:34:18 +0000 (13:34 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0773.data.authority_thesaurus_update.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.data.authority_thesaurus_update.sql [deleted file]

index 5335cc8..38416d9 100644 (file)
@@ -91,7 +91,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 ('0772', :eg_version); -- senator/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0773', :eg_version); -- Callender/berick
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0773.data.authority_thesaurus_update.sql b/Open-ILS/src/sql/Pg/upgrade/0773.data.authority_thesaurus_update.sql
new file mode 100644 (file)
index 0000000..e3e3f62
--- /dev/null
@@ -0,0 +1,12 @@
+-- Evergreen DB patch xxxx.data.authority_thesaurus_update.sql
+--
+BEGIN;
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('0773', :eg_version);
+
+
+INSERT INTO authority.thesaurus (code, name, control_set) VALUES
+    (' ', oils_i18n_gettext(' ','Alternate no attempt to code','at','name'), NULL);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.authority_thesaurus_update.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.authority_thesaurus_update.sql
deleted file mode 100644 (file)
index e5486e7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
--- Evergreen DB patch xxxx.data.authority_thesaurus_update.sql
---
-BEGIN;
-
--- check whether patch can be applied
-SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version);
-
-
-INSERT INTO authority.thesaurus (code, name, control_set) VALUES
-    (' ', oils_i18n_gettext(' ','Alternate no attempt to code','at','name'), NULL);
-
-COMMIT;