From: Galen Charlton Date: Mon, 20 Sep 2021 16:28:11 +0000 (-0400) Subject: LP#1904593: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fa826d2bd3d1d0888ab4d10a6e3a0df178d0178b;p=evergreen%2Ftadl.git LP#1904593: stamp DB update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 9ec45f5ae6..e38f09f189 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 ('1286', :eg_version); -- jeffdavis / terranm / gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1287', :eg_version); -- rhamby / jbruch / gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1287.data.my_account_url_yaous.sql b/Open-ILS/src/sql/Pg/upgrade/1287.data.my_account_url_yaous.sql new file mode 100644 index 0000000000..306b80505d --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1287.data.my_account_url_yaous.sql @@ -0,0 +1,17 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1287', :eg_version); + + INSERT into config.org_unit_setting_type + ( name, grp, label, description, datatype, fm_class ) VALUES + ( 'lib.my_account_url', 'lib', + oils_i18n_gettext('lib.my_account_url', + 'My Account URL (such as "https://example.com/eg/opac/login")', + 'coust', 'label'), + oils_i18n_gettext('lib.my_account_url', + 'URL for a My Account link. Use a complete URL, such as "https://example.com/eg/opac/login".', + 'coust', 'description'), + 'string', null) + ; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.my_account_url_yaous.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.my_account_url_yaous.sql deleted file mode 100644 index bfc6919a95..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.my_account_url_yaous.sql +++ /dev/null @@ -1,17 +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 - ( 'lib.my_account_url', 'lib', - oils_i18n_gettext('lib.my_account_url', - 'My Account URL (such as "https://example.com/eg/opac/login")', - 'coust', 'label'), - oils_i18n_gettext('lib.my_account_url', - 'URL for a My Account link. Use a complete URL, such as "https://example.com/eg/opac/login".', - 'coust', 'description'), - 'string', null) - ; - -COMMIT;