LP#1486151 Stamping upgrade script for password reset regex description
authorKathy Lussier <klussier@masslnc.org>
Thu, 18 Feb 2016 23:51:33 +0000 (18:51 -0500)
committerKathy Lussier <klussier@masslnc.org>
Thu, 18 Feb 2016 23:51:33 +0000 (18:51 -0500)
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0955.schema.password-reset-regex-description.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.password-reset-regex-description.sql [deleted file]

index 0e34926..ab33a79 100644 (file)
@@ -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 (file)
index 0000000..ee2f7af
--- /dev/null
@@ -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 (file)
index dfbf7e1..0000000
+++ /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;