From 0bb87e5c2c8cc4d8ec2e76773a26d1c5f07dbd38 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Mon, 26 Sep 2011 10:19:20 -0400 Subject: [PATCH] Unwrapped, badly named upgrade script Signed-off-by: Thomas Berezansky Signed-off-by: Bill Erickson --- Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql new file mode 100644 index 0000000000..3e64e0be20 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.temp.sql @@ -0,0 +1,26 @@ +INSERT INTO config.org_unit_setting_type (name, grp, label, description, datatype) VALUES +( 'opac.username_regex', 'glob', + oils_i18n_gettext('opac.username_regex', + 'Patron username format', + 'coust', 'label'), + oils_i18n_gettext('opac.username_regex', + 'Regular expression defining the patron username format, used for patron registration and self-service username changing only', + 'coust', 'description'), + 'string') +,( 'opac.lock_usernames', 'glob', + oils_i18n_gettext('opac.lock_usernames', + 'Lock Usernames', + 'coust', 'label'), + oils_i18n_gettext('opac.lock_usernames', + 'If enabled username changing via the OPAC will be disabled', + 'coust', 'description'), + 'bool') +,( 'opac.unlimit_usernames', 'glob', + oils_i18n_gettext('opac.unlimit_usernames', + 'Allow multiple username changes', + 'coust', 'label'), + oils_i18n_gettext('opac.unlimit_usernames', + 'If enabled (and Lock Usernames is not set) patrons will be allowed to change their username when it does not look like a barcode. Otherwise username changing in the OPAC will only be allowed when the patron''s username looks like a barcode.', + 'coust', 'description'), + 'bool') +; -- 2.11.0