Upgrade script numbering for edireader branch
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 21:59:12 +0000 (16:59 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 22:10:31 +0000 (17:10 -0500)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0751.data.acq_cancel_not_accepted.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.acq_cancel_not_accepted.sql [deleted file]

index f8128a6..25fa292 100644 (file)
@@ -87,7 +87,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 ('0750', :eg_version); -- miker/jstephenson
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0751', :eg_version); -- berick/senator
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0751.data.acq_cancel_not_accepted.sql b/Open-ILS/src/sql/Pg/upgrade/0751.data.acq_cancel_not_accepted.sql
new file mode 100644 (file)
index 0000000..5e0d22b
--- /dev/null
@@ -0,0 +1,15 @@
+
+BEGIN;
+SELECT evergreen.upgrade_deps_block_check('0751', :eg_version);
+
+INSERT INTO acq.cancel_reason (keep_debits, id, org_unit, label, description) 
+    VALUES (
+        'f', 
+        1007, 
+        1, 
+        'Not accepted', 
+        'This line item is not accepted by the seller.'
+    );
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.acq_cancel_not_accepted.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.acq_cancel_not_accepted.sql
deleted file mode 100644 (file)
index e8ed2a8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-
-BEGIN;
-
-INSERT INTO acq.cancel_reason (keep_debits, id, org_unit, label, description) 
-    VALUES (
-        'f', 
-        1007, 
-        1, 
-        'Not accepted', 
-        'This line item is not accepted by the seller.'
-    );
-
-COMMIT;
-