From: Kathy Lussier Date: Thu, 18 Feb 2016 23:51:33 +0000 (-0500) Subject: LP#1486151 Stamping upgrade script for password reset regex description X-Git-Tag: sprint4-merge-nov22~629 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=51c58f55324e77579473a26f323bf22b72a499b1;p=working%2FEvergreen.git LP#1486151 Stamping upgrade script for password reset regex description Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 0e34926bd2..ab33a79ae9 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -91,7 +91,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 ('0954', :eg_version); --berick/jihpringle/kmlussier +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0955', :eg_version); --mpeters/christineb/kmlussier CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql b/Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql new file mode 100644 index 0000000000..ee2f7afa01 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql @@ -0,0 +1,10 @@ +BEGIN; + +-- check whether patch can be applied +SELECT evergreen.upgrade_deps_block_check('0955', :eg_version); + +UPDATE config.org_unit_setting_type +SET description = 'Regular expression defining the password format. Note: Be sure to update the update_password_msg.tt2 TPAC template with a user-friendly description of your password strength requirements.' +WHERE NAME = 'global.password_regex'; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql deleted file mode 100644 index dfbf7e1e84..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql +++ /dev/null @@ -1,10 +0,0 @@ -BEGIN; - --- check whether patch can be applied -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -UPDATE config.org_unit_setting_type -SET description = 'Regular expression defining the password format. Note: Be sure to update the update_password_msg.tt2 TPAC template with a user-friendly description of your password strength requirements.' -WHERE NAME = 'global.password_regex'; - -COMMIT;