Stamping upgrade script for "delate" typo
authorBen Shum <bshum@biblio.org>
Tue, 6 Aug 2013 16:13:15 +0000 (12:13 -0400)
committerBen Shum <bshum@biblio.org>
Tue, 6 Aug 2013 16:14:57 +0000 (12:14 -0400)
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0814.data.fix-delate-typo.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.fix-delate-typo.sql [deleted file]

index 0211ae6..0b6cd8b 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 ('0813', :eg_version); -- bshum/Dyrcona
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0814', :eg_version); -- paxed/bshum
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0814.data.fix-delate-typo.sql b/Open-ILS/src/sql/Pg/upgrade/0814.data.fix-delate-typo.sql
new file mode 100644 (file)
index 0000000..cc841fa
--- /dev/null
@@ -0,0 +1,9 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0814', :eg_version);
+
+UPDATE permission.perm_list
+SET description = 'Allow a user to delete a provider'
+WHERE code = 'DELETE_PROVIDER';
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fix-delate-typo.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fix-delate-typo.sql
deleted file mode 100644 (file)
index 0bb561c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE permission.perm_list
-SET description = 'Allow a user to delete a provider'
-WHERE code = 'DELETE_PROVIDER';
-
-COMMIT;