lp1855780 stamp upgrade script
authorJane Sandberg <sandbergja@gmail.com>
Wed, 17 Nov 2021 19:53:52 +0000 (11:53 -0800)
committerJane Sandberg <sandbergja@gmail.com>
Wed, 17 Nov 2021 19:55:13 +0000 (11:55 -0800)
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1308.data.trigger_ui_grid_settings.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.trigger_ui_grid_settings.sql [deleted file]

index 3b4db98..00283f5 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 ('1307', :eg_version); -- jeffdavis/JBoyer/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1308', :eg_version); -- mrisher/rhamby/gmcharlt/sandbergja
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1308.data.trigger_ui_grid_settings.sql b/Open-ILS/src/sql/Pg/upgrade/1308.data.trigger_ui_grid_settings.sql
new file mode 100644 (file)
index 0000000..0c28896
--- /dev/null
@@ -0,0 +1,29 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1308', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.grid.admin.local.triggers.atevdef', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.local.triggers.atevdef',
+        'Grid Config: eg.grid.admin.local.triggers.atevdef',
+        'cwst', 'label'
+    )
+), (
+    'eg.grid.admin.local.triggers.atenv', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.local.triggers.atenv',
+        'Grid Config: eg.grid.admin.local.triggers.atenv',
+        'cwst', 'label'
+    )
+), (
+    'eg.grid.admin.local.triggers.atevparam', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.local.triggers.atevparam',
+        'Grid Config: eg.grid.admin.local.triggers.atevparam',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.trigger_ui_grid_settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.trigger_ui_grid_settings.sql
deleted file mode 100644 (file)
index 757fd14..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.triggers.atevdef', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.admin.local.triggers.atevdef',
-        'Grid Config: eg.grid.admin.local.triggers.atevdef',
-        'cwst', 'label'
-    )
-), (
-    'eg.grid.admin.local.triggers.atenv', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.admin.local.triggers.atenv',
-        'Grid Config: eg.grid.admin.local.triggers.atenv',
-        'cwst', 'label'
-    )
-), (
-    'eg.grid.admin.local.triggers.atevparam', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.admin.local.triggers.atevparam',
-        'Grid Config: eg.grid.admin.local.triggers.atevparam',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;