LP#1980867: stamp upgrade script
authorJane Sandberg <sandbergja@gmail.com>
Fri, 30 Sep 2022 01:15:15 +0000 (18:15 -0700)
committerJane Sandberg <sandbergja@gmail.com>
Fri, 30 Sep 2022 01:15:15 +0000 (18:15 -0700)
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1331.data.hide-trad-catalog-setting.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.hide-trad-catalog-setting.sql [deleted file]

index 0722cf3..b8a1492 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 ('1330', :eg_version); -- berick/gcollum/sandbergja
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1331', :eg_version); -- jdavis/gmonti/sandbergja
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1331.data.hide-trad-catalog-setting.sql b/Open-ILS/src/sql/Pg/upgrade/1331.data.hide-trad-catalog-setting.sql
new file mode 100644 (file)
index 0000000..c4fb99a
--- /dev/null
@@ -0,0 +1,24 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1331', :eg_version);
+
+INSERT into config.org_unit_setting_type
+    (name, datatype, grp, label, description)
+VALUES (
+    'ui.staff.traditional_catalog.enabled', 'bool', 'gui',
+    oils_i18n_gettext(
+        'ui.staff.traditional_catalog.enabled',
+        'GUI: Enable Traditional Staff Catalog',
+        'coust', 'label'
+    ),
+    oils_i18n_gettext(
+        'ui.staff.traditional_catalog.enabled',
+        'Display an entry point in the browser client for the ' ||
+        'traditional staff catalog.',
+        'coust', 'description'
+    )
+);
+
+COMMIT;
+
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hide-trad-catalog-setting.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hide-trad-catalog-setting.sql
deleted file mode 100644 (file)
index 3573f1a..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT into config.org_unit_setting_type
-    (name, datatype, grp, label, description)
-VALUES (
-    'ui.staff.traditional_catalog.enabled', 'bool', 'gui',
-    oils_i18n_gettext(
-        'ui.staff.traditional_catalog.enabled',
-        'GUI: Enable Traditional Staff Catalog',
-        'coust', 'label'
-    ),
-    oils_i18n_gettext(
-        'ui.staff.traditional_catalog.enabled',
-        'Display an entry point in the browser client for the ' ||
-        'traditional staff catalog.',
-        'coust', 'description'
-    )
-);
-
-COMMIT;
-
-