|
|
|
@ -28,7 +28,8 @@ DELETE FROM settings_current WHERE variable='show_student_view'; |
|
|
|
|
DELETE FROM settings_options WHERE variable='show_student_view'; |
|
|
|
|
INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('openid_authentication', NULL, 'radio', 'Security', 'false', 'OpenIdAuthentication', 'OpenIdAuthenticationComment', NULL, NULL); |
|
|
|
|
INSERT INTO settings_options (variable, value, display_text) VALUES ('openid_authentication', 'true', 'Yes'); |
|
|
|
|
INSERT INTO settings_options (variable, value, display_text) VALUES ('openid_authentication', 'false', 'No'); |
|
|
|
|
INSERT INTO settings_options (variable, value, display_text) VALUES ('openid_authentication', 'false', 'No'); |
|
|
|
|
INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext) VALUES ('profile','openid','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'OpenIDURL'); |
|
|
|
|
CREATE TABLE templates (id int NOT NULL auto_increment, title varchar(100) NOT NULL, description varchar(250) NOT NULL, course_code varchar(40) NOT NULL, user_id int NOT NULL, ref_doc int NOT NULL, PRIMARY KEY (id)); |
|
|
|
|
ALTER TABLE user ADD openid varchar(255) DEFAULT NULL; |
|
|
|
|
ALTER TABLE user ADD INDEX (openid(50)); |
|
|
|
|