From: Bill Erickson Date: Fri, 21 Feb 2020 16:33:43 +0000 (-0500) Subject: LP1850938 Stamping DB upgrade (Ang Cat Prefs) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9194d9c4bc99f9c8f13632ef6f50e72793f392d1;p=contrib%2FConifer.git LP1850938 Stamping DB upgrade (Ang Cat Prefs) Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 36b5d08863..6715c8c6b8 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 ('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 index 0000000000..77b63aca94 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1198.data.catalog-prefs.sql @@ -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 index 1380afa6af..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.catalog-prefs.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.results.count', 'gui', 'integer', - oils_i18n_gettext( - 'eg.catalog.results.count', - 'Catalog Results Page Size', - 'cwst', 'label' - ) -); - -COMMIT;