[open-ils-commits] r16531 - in trunk/Open-ILS/src/sql/Pg: . upgrade (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri May 28 12:40:43 EDT 2010
Author: scottmk
Date: 2010-05-28 12:40:39 -0400 (Fri, 28 May 2010)
New Revision: 16531
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0284.data.persistent-login-interval.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
Added org_unit_setting_type auth.persistent_login_interval
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0284.data.persistent-login-interval.sql
M Open-ILS/src/sql/Pg/950.data.seed-values.sql
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-05-28 15:50:23 UTC (rev 16530)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-05-28 16:40:39 UTC (rev 16531)
@@ -65,7 +65,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0283'); -- berick
+INSERT INTO config.upgrade_log (version) VALUES ('0284'); -- Scott McKellar
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-05-28 15:50:23 UTC (rev 16530)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-05-28 16:40:39 UTC (rev 16531)
@@ -4967,7 +4967,6 @@
)
);
-
INSERT INTO config.global_flag (name,label,enabled)
VALUES (
'history.circ.retention_age',
@@ -5009,3 +5008,12 @@
'integer'
);
+-- 0281.data.persistent-login-interval.sql
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+VALUES (
+ 'auth.persistent_login_interval',
+ oils_i18n_gettext('auth.persistent_login_interval', 'Persistent Login Duration', 'coust', 'label'),
+ oils_i18n_gettext('auth.persistent_login_interval', 'How long a persistent login lasts. E.g. ''2 weeks''', 'coust', 'description'),
+ 'interval'
+);
+
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0284.data.persistent-login-interval.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0284.data.persistent-login-interval.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0284.data.persistent-login-interval.sql 2010-05-28 16:40:39 UTC (rev 16531)
@@ -0,0 +1,13 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0284'); -- Scott McKellar
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+VALUES (
+ 'auth.persistent_login_interval',
+ oils_i18n_gettext('auth.persistent_login_interval', 'Persistent Login Duration', 'coust', 'label'),
+ oils_i18n_gettext('auth.persistent_login_interval', 'How long a persistent login lasts. E.g. ''2 weeks''', 'coust', 'description'),
+ 'interval'
+);
+
+COMMIT;
More information about the open-ils-commits
mailing list