LP#1908722: stamp schema update
authorGalen Charlton <gmc@equinoxOLI.org>
Mon, 12 Jul 2021 21:01:51 +0000 (17:01 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 12 Jul 2021 21:01:51 +0000 (17:01 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1268.data.angstcat-show-more-details.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.angstcat-show-more-details.sql [deleted file]

index 06ae888..0e6a6f0 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 ('1267', :eg_version); -- jeffdavis/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1268', :eg_version); -- berick/mmorgan/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1268.data.angstcat-show-more-details.sql b/Open-ILS/src/sql/Pg/upgrade/1268.data.angstcat-show-more-details.sql
new file mode 100644 (file)
index 0000000..2545822
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1268', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.staff.catalog.results.show_more', 'gui', 'bool',
+    oils_i18n_gettext(
+        'eg.staff.catalog.results.show_more',
+        'Show more details in Angular staff catalog',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angstcat-show-more-details.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.angstcat-show-more-details.sql
deleted file mode 100644 (file)
index 31b2e4c..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.staff.catalog.results.show_more', 'gui', 'bool',
-    oils_i18n_gettext(
-        'eg.staff.catalog.results.show_more',
-        'Show more details in Angular staff catalog',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;