LP#1661688: tweak schema update
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 28 Feb 2018 21:50:14 +0000 (16:50 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 28 Feb 2018 21:50:14 +0000 (16:50 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/upgrade/1104.data.hold_checkout_ou.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold_checkout.sql [deleted file]

diff --git a/Open-ILS/src/sql/Pg/upgrade/1104.data.hold_checkout_ou.sql b/Open-ILS/src/sql/Pg/upgrade/1104.data.hold_checkout_ou.sql
new file mode 100644 (file)
index 0000000..4a4bb40
--- /dev/null
@@ -0,0 +1,19 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1104', :eg_version);
+
+INSERT INTO config.org_unit_setting_type
+( name, grp, label, description, datatype )
+VALUES
+       ('circ.clear_hold_on_checkout',
+        'circ',
+       oils_i18n_gettext('circ.clear_hold_on_checkout',
+               'Clear hold when other patron checks out item',
+               'coust', 'label'),
+        oils_i18n_gettext('circ.clear_hold_on_checkout',
+            'Default to cancel the hold when patron A checks out item on hold for patron B.',
+               'coust', 'description'),
+       'bool');
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold_checkout.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold_checkout.sql
deleted file mode 100644 (file)
index fa7b41d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.org_unit_setting_type
-( name, grp, label, description, datatype )
-VALUES
-       ('circ.clear_hold_on_checkout',
-        'circ',
-       oils_i18n_gettext('circ.clear_hold_on_checkout',
-               'Clear hold when other patron checks out item',
-               'coust', 'label'),
-        oils_i18n_gettext('circ.clear_hold_on_checkout',
-            'Default to cancel the hold when patron A checks out item on hold for patron B.',
-               'coust', 'description'),
-       'bool');
-
-COMMIT;
-