LP1158211 - add upgrade script to fill empty description
authorRemington Steed <rjs7@calvin.edu>
Wed, 10 Jul 2013 13:32:07 +0000 (09:32 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 10 Jul 2013 14:56:38 +0000 (10:56 -0400)
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
new file mode 100644 (file)
index 0000000..ce297b5
--- /dev/null
@@ -0,0 +1,9 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+UPDATE config.org_unit_setting_type 
+SET description = 'The amount of time an item will be held on the shelf before the hold expires. For example: "2 weeks" or "5 days"' 
+WHERE name = 'circ.holds.default_shelf_expire_interval';
+
+COMMIT;