LP#1913338: stamp schema update
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 26 May 2021 20:23:23 +0000 (16:23 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 26 May 2021 20:23:23 +0000 (16:23 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1263.data.staffcat-sticky-search-form.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-sticky-search-form.sql [deleted file]

index bec8d91..c9f0fb1 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 ('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 (file)
index 0000000..6a0dabf
--- /dev/null
@@ -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 (file)
index be47ba6..0000000
+++ /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;