LP1839341: stamp upgrade script
authorJane Sandberg <sandbergja@gmail.com>
Thu, 13 Oct 2022 16:10:43 +0000 (09:10 -0700)
committerJane Sandberg <sandbergja@gmail.com>
Thu, 13 Oct 2022 16:10:43 +0000 (09:10 -0700)
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1336.data.ouSettings-grid-ws-settings.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.ouSettings-grid-ws-settings.sql [deleted file]

index 9dc1188..ba43820 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 ('1335', :eg_version); -- tlittle/berick/gmcharlt/rfrasur/sandbergja
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1336', :eg_version); -- khuckins/berick/mrylander/tmccanna/sandbergja
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1336.data.ouSettings-grid-ws-settings.sql b/Open-ILS/src/sql/Pg/upgrade/1336.data.ouSettings-grid-ws-settings.sql
new file mode 100644 (file)
index 0000000..03a2628
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1336', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label) 
+VALUES (
+    'eg.grid.admin.actor.org_unit_settings', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.admin.actor.org_unit_settings',
+        'Grid Config: admin.actor.org_unit_settings',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ouSettings-grid-ws-settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ouSettings-grid-ws-settings.sql
deleted file mode 100644 (file)
index e865962..0000000
+++ /dev/null
@@ -1,15 +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.actor.org_unit_settings', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.admin.actor.org_unit_settings',
-        'Grid Config: admin.actor.org_unit_settings',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;
\ No newline at end of file