Stamping upgrade script for EDI cleanup
authorMike Rylander <mrylander@gmail.com>
Mon, 26 Sep 2011 16:18:03 +0000 (12:18 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 26 Sep 2011 16:18:03 +0000 (12:18 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0629.data.jedi-template.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.jedi-template.sql [deleted file]

index 67fe0e8..7fa9257 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 ('0628', :eg_version); -- jamesrf/berick
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0629', :eg_version); -- senator/miker
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0629.data.jedi-template.sql b/Open-ILS/src/sql/Pg/upgrade/0629.data.jedi-template.sql
new file mode 100644 (file)
index 0000000..e580695
--- /dev/null
@@ -0,0 +1,14 @@
+-- Evergreen DB patch XXXX.data.jedi-template.sql
+--
+--
+BEGIN;
+
+-- check whether patch can be applied
+SELECT evergreen.upgrade_deps_block_check('0629', :eg_version);
+
+UPDATE action_trigger.event_definition
+    SET template =
+        REPLACE(template, 'helpers.get_li_attr', 'helpers.get_li_attr_jedi')
+    WHERE id = 23;
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.jedi-template.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.jedi-template.sql
deleted file mode 100644 (file)
index e16f700..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
--- Evergreen DB patch XXXX.data.jedi-template.sql
---
---
-BEGIN;
-
--- check whether patch can be applied
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE action_trigger.event_definition
-    SET template =
-        REPLACE(template, 'helpers.get_li_attr', 'helpers.get_li_attr_jedi')
-    WHERE id = 23;
-
-COMMIT;