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
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16531
dcc99617-32d9-48b4-a31d-
7c20da2025e4
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,
)
);
-
INSERT INTO config.global_flag (name,label,enabled)
VALUES (
'history.circ.retention_age',
'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'
+);
+
--- /dev/null
+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;