From: Galen Charlton <gmc@equinoxOLI.org>
Date: Wed, 26 May 2021 20:23:23 +0000 (-0400)
Subject: LP#1913338: stamp schema update
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6c43a08d4799191fdc0a7bab2da93cb9957de1e1;p=evergreen%2Fpines.git

LP#1913338: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
---

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index bec8d91d64..c9f0fb10dc 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -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 ('1262', :eg_version); -- jeff/gmcharlt/mmorgan
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1263', :eg_version); -- berick/csharp/gmcharlt
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1263.data.staffcat-sticky-search-form.sql b/Open-ILS/src/sql/Pg/upgrade/1263.data.staffcat-sticky-search-form.sql
new file mode 100644
index 0000000000..6a0dabfca7
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/1263.data.staffcat-sticky-search-form.sql
@@ -0,0 +1,15 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1263', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.catalog.search.form.open', 'gui', 'bool',
+    oils_i18n_gettext(
+        'eg.catalog.search.form.open',
+        'Catalog Search Form Visibility Sticky Setting',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-sticky-search-form.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-sticky-search-form.sql
deleted file mode 100644
index be47ba63fc..0000000000
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-sticky-search-form.sql
+++ /dev/null
@@ -1,15 +0,0 @@
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
-    'eg.catalog.search.form.open', 'gui', 'bool',
-    oils_i18n_gettext(
-        'eg.catalog.search.form.open',
-        'Catalog Search Form Visibility Sticky Setting',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;