From: Jason Boyer Date: Wed, 23 Oct 2019 16:01:15 +0000 (-0400) Subject: Stamp upgrade script for LP 1849152 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=11868e97844a47d57489062197ac6809d9473366;p=evergreen%2Fmasslnc.git Stamp upgrade script for LP 1849152 Signed-off-by: Jason Boyer --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 68ceac645e..5cb05b6074 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 ('1195', :eg_version); -- dbwells/khuckins/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1196', :eg_version); -- rhamby/gcollum/jboyer CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1196.data.opac_custom_css.sql b/Open-ILS/src/sql/Pg/upgrade/1196.data.opac_custom_css.sql new file mode 100644 index 0000000000..da51d9b61f --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1196.data.opac_custom_css.sql @@ -0,0 +1,16 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1196', :eg_version); + +INSERT into config.org_unit_setting_type +( name, grp, label, description, datatype, fm_class ) VALUES +( 'opac.patron.custom_css', 'opac', + oils_i18n_gettext('opac.patron.custom_css', + 'Custom CSS for the OPAC', + 'coust', 'label'), + oils_i18n_gettext('opac.patron.custom_css', + 'Custom CSS for the OPAC', + 'coust', 'description'), + 'string', NULL); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.opac_custom_css.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.opac_custom_css.sql deleted file mode 100644 index 9715d1d276..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.opac_custom_css.sql +++ /dev/null @@ -1,16 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); - -INSERT into config.org_unit_setting_type -( name, grp, label, description, datatype, fm_class ) VALUES -( 'opac.patron.custom_css', 'opac', - oils_i18n_gettext('opac.patron.custom_css', - 'Custom CSS for the OPAC', - 'coust', 'label'), - oils_i18n_gettext('opac.patron.custom_css', - 'Custom CSS for the OPAC', - 'coust', 'description'), - 'string', NULL); - -COMMIT;