LP1920253: Stamp Upgrade Script
authorJason Boyer <JBoyer@equinoxOLI.org>
Wed, 22 Sep 2021 17:21:13 +0000 (13:21 -0400)
committerJason Boyer <JBoyer@equinoxOLI.org>
Wed, 22 Sep 2021 17:21:13 +0000 (13:21 -0400)
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1294.data.carousel_ws_settings.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql [deleted file]

index 715d1b1..b8b675a 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 ('1293', :eg_version); -- phasefx / miker / ddale / csharp
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1294', :eg_version); -- mmorgan / tlittle / JBoyer
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1294.data.carousel_ws_settings.sql b/Open-ILS/src/sql/Pg/upgrade/1294.data.carousel_ws_settings.sql
new file mode 100644 (file)
index 0000000..076ecba
--- /dev/null
@@ -0,0 +1,29 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1294', :eg_version); -- mmorgan / tlittle / JBoyer
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.grid.admin.local.container.carousel_org_unit', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.local.container.carousel_org_unit',
+        'Grid Config: eg.grid.admin.local.container.carousel_org_unit',
+        'cwst', 'label'
+    )
+), (
+    'eg.grid.admin.container.carousel', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.container.carousel',
+        'Grid Config: eg.grid.admin.container.carousel',
+        'cwst', 'label'
+    )
+), (
+    'eg.grid.admin.server.config.carousel_type', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.server.config.carousel_type',
+        'Grid Config: eg.grid.admin.server.config.carousel_type',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.carousel_ws_settings.sql
deleted file mode 100644 (file)
index ab56e8c..0000000
+++ /dev/null
@@ -1,29 +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.admin.local.container.carousel_org_unit', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.admin.local.container.carousel_org_unit',
-        'Grid Config: eg.grid.admin.local.container.carousel_org_unit',
-        'cwst', 'label'
-    )
-), (
-    'eg.grid.admin.container.carousel', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.admin.container.carousel',
-        'Grid Config: eg.grid.admin.container.carousel',
-        'cwst', 'label'
-    )
-), (
-    'eg.grid.admin.server.config.carousel_type', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.admin.server.config.carousel_type',
-        'Grid Config: eg.grid.admin.server.config.carousel_type',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;