Stamping 0849 - desk renewal description
authorBen Shum <bshum@biblio.org>
Tue, 17 Dec 2013 19:59:44 +0000 (14:59 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 17 Dec 2013 20:00:52 +0000 (15:00 -0500)
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0849.schema.desk_renewal_desc_update.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.schema.desk_renewal_desc_update [deleted file]

index 2744e49..32fef43 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 ('0848', :eg_version); -- miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0849', :eg_version); -- callender/bshum
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0849.schema.desk_renewal_desc_update.sql b/Open-ILS/src/sql/Pg/upgrade/0849.schema.desk_renewal_desc_update.sql
new file mode 100644 (file)
index 0000000..160962d
--- /dev/null
@@ -0,0 +1,10 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0849', :eg_version);
+
+UPDATE config.global_flag
+    SET label = 'Circ: Use original circulation library on desk renewal instead of the workstation library'
+    WHERE name = 'circ.desk_renewal.use_original_circ_lib';
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.desk_renewal_desc_update b/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.desk_renewal_desc_update
deleted file mode 100644 (file)
index 0432b9e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-BEGIN;
-
-INSERT INTO config.upgrade_log (version) VALUES ('xxxx');
-
-UPDATE config.global_flag
-    SET label = 'Circ: Use original circulation library on desk renewal instead of the workstation library'
-    WHERE name = 'circ.desk_renewal.use_original_circ_lib';
-
-COMMIT;
-