LP1882825 - Stamp upgrade script
authorChris Sharp <csharp@georgialibraries.org>
Wed, 23 Sep 2020 20:47:33 +0000 (16:47 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 23 Sep 2020 20:47:33 +0000 (16:47 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1239.data.add_missing_setting_for_booking_pull_list_grid.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_missing_setting_for_booking_pull_list_grid.sql [deleted file]

index 8e98811..40fda64 100644 (file)
@@ -92,7 +92,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 ('1238', :eg_version); -- jeffdavis/csharp
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1239', :eg_version); -- sandbergja/csharp
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1239.data.add_missing_setting_for_booking_pull_list_grid.sql b/Open-ILS/src/sql/Pg/upgrade/1239.data.add_missing_setting_for_booking_pull_list_grid.sql
new file mode 100644 (file)
index 0000000..d522cae
--- /dev/null
@@ -0,0 +1,14 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.grid.booking.pull_list', 'gui', 'object',
+    oils_i18n_gettext(
+        'booking.pull_list',
+        'Grid Config: Booking Pull List',
+        'cwst', 'label')
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_missing_setting_for_booking_pull_list_grid.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.add_missing_setting_for_booking_pull_list_grid.sql
deleted file mode 100644 (file)
index d522cae..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
-    'eg.grid.booking.pull_list', 'gui', 'object',
-    oils_i18n_gettext(
-        'booking.pull_list',
-        'Grid Config: Booking Pull List',
-        'cwst', 'label')
-);
-
-COMMIT;