Stamping upgrade for Gwich'in language typo
authorDan Wells <dbw2@calvin.edu>
Wed, 10 Jul 2013 15:26:07 +0000 (11:26 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 10 Jul 2013 15:26:07 +0000 (11:26 -0400)
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0804.data.gwichin-typo-fix.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql [deleted file]

index 30d2ddf..b779429 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 ('0803', :eg_version); -- paxed/remingtron/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0804', :eg_version); -- paxed/remingtron/bshum/dbwells
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0804.data.gwichin-typo-fix.sql b/Open-ILS/src/sql/Pg/upgrade/0804.data.gwichin-typo-fix.sql
new file mode 100644 (file)
index 0000000..27bfb51
--- /dev/null
@@ -0,0 +1,9 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0804', :eg_version);
+
+UPDATE config.coded_value_map
+SET value = 'Gwich''in'
+WHERE ctype = 'item_lang' AND code = 'gwi';
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql
deleted file mode 100644 (file)
index 4b61142..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE config.coded_value_map
-SET value = 'Gwich''in'
-WHERE ctype = 'item_lang' AND code = 'gwi';
-
-COMMIT;