LP1850938 Stamping DB upgrade (Ang Cat Prefs)
authorBill Erickson <berickxx@gmail.com>
Fri, 21 Feb 2020 16:33:43 +0000 (11:33 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 21 Feb 2020 16:44:38 +0000 (11:44 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1198.data.catalog-prefs.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.catalog-prefs.sql [deleted file]

index 36b5d08..6715c8c 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 ('1197', :eg_version); -- berick/jboyer
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1198', :eg_version); -- berick/tmccanna
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1198.data.catalog-prefs.sql b/Open-ILS/src/sql/Pg/upgrade/1198.data.catalog-prefs.sql
new file mode 100644 (file)
index 0000000..77b63ac
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1198', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.catalog.results.count', 'gui', 'integer',
+    oils_i18n_gettext(
+        'eg.catalog.results.count',
+        'Catalog Results Page Size',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.catalog-prefs.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.catalog-prefs.sql
deleted file mode 100644 (file)
index 1380afa..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.results.count', 'gui', 'integer',
-    oils_i18n_gettext(
-        'eg.catalog.results.count',
-        'Catalog Results Page Size',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;