LP#1922273: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Mon, 20 Sep 2021 15:59:27 +0000 (11:59 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 20 Sep 2021 15:59:27 +0000 (11:59 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1286.data.staffcat-search-filters.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-search-filters.sql [deleted file]

index 16aa966..9ec45f5 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 ('1285', :eg_version); -- phasefx / gcollum / miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1286', :eg_version); -- jeffdavis / terranm / gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1286.data.staffcat-search-filters.sql b/Open-ILS/src/sql/Pg/upgrade/1286.data.staffcat-search-filters.sql
new file mode 100644 (file)
index 0000000..9ed94be
--- /dev/null
@@ -0,0 +1,22 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1286', :eg_version);
+
+INSERT INTO config.org_unit_setting_type
+( name, grp, label, description, datatype )
+VALUES
+( 'eg.staffcat.search_filters', 'gui',
+  oils_i18n_gettext(
+    'eg.staffcat.search_filters',
+    'Staff Catalog Search Filters',
+    'coust', 'label'),
+  oils_i18n_gettext(
+    'eg.staffcat.search_filters',
+    'Array of advanced search filters to display, e.g. ["item_lang","audience","lit_form"]',
+    'coust', 'description'),
+  'array' );
+
+COMMIT;
+
+
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-search-filters.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-search-filters.sql
deleted file mode 100644 (file)
index ef17694..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.org_unit_setting_type
-( name, grp, label, description, datatype )
-VALUES
-( 'eg.staffcat.search_filters', 'gui',
-  oils_i18n_gettext(
-    'eg.staffcat.search_filters',
-    'Staff Catalog Search Filters',
-    'coust', 'label'),
-  oils_i18n_gettext(
-    'eg.staffcat.search_filters',
-    'Array of advanced search filters to display, e.g. ["item_lang","audience","lit_form"]',
-    'coust', 'description'),
-  'array' );
-
-COMMIT;
-
-
-