|
|
|
@ -150,7 +150,7 @@ INSERT INTO settings_current (variable, subkey, type, category, selected_value, |
|
|
|
|
INSERT INTO settings_options (variable, value, display_text) VALUES ('show_groups_to_users', 'true', 'Yes'); |
|
|
|
|
INSERT INTO settings_options (variable, value, display_text) VALUES ('show_groups_to_users', 'false', 'No'); |
|
|
|
|
|
|
|
|
|
UPDATE settings_current SET selected_value = '1.8.8.13657' WHERE variable = 'chamilo_database_version'; |
|
|
|
|
UPDATE settings_current SET selected_value = '1.8.8.13673' WHERE variable = 'chamilo_database_version'; |
|
|
|
|
|
|
|
|
|
INSERT INTO language (original_name, english_name, isocode, dokeos_folder, available) VALUES ('हिन्दी', 'hindi', 'hi', 'hindi', 0); |
|
|
|
|
|
|
|
|
@ -159,7 +159,6 @@ ALTER TABLE session ADD promotion_id INT NOT NULL; |
|
|
|
|
CREATE TABLE career (id INT NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, description TEXT NOT NULL, status INT NOT NULL default '0', created_at datetime NOT NULL DEFAULT '0000-00-00 00:00:00', updated_at datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (id)); |
|
|
|
|
CREATE TABLE promotion (id INT NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, description TEXT NOT NULL, status INT NOT NULL default '0', career_id INT NOT NULL, created_at datetime NOT NULL DEFAULT '0000-00-00 00:00:00', updated_at datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY(id)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE usergroup ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, description TEXT NOT NULL,PRIMARY KEY (id)); |
|
|
|
|
CREATE TABLE usergroup_rel_user ( usergroup_id INT NOT NULL, user_id INT NOT NULL ); |
|
|
|
|
CREATE TABLE usergroup_rel_course ( usergroup_id INT NOT NULL, course_id INT NOT NULL ); |
|
|
|
@ -190,6 +189,7 @@ ALTER TABLE lp ADD COLUMN publicated_on DATETIME NOT NULL DEFAULT '0000-00-00 00 |
|
|
|
|
|
|
|
|
|
CREATE TABLE quiz_question_option (id int NOT NULL, name varchar(255), position int unsigned NOT NULL, PRIMARY KEY (id)); |
|
|
|
|
ALTER TABLE quiz_question ADD COLUMN extra varchar(255) DEFAULT NULL; |
|
|
|
|
ALTER TABLE quiz_question CHANGE question question TEXT NOT NULL; |
|
|
|
|
|
|
|
|
|
INSERT INTO course_setting(variable,value,category) VALUES ('enable_lp_auto_launch',0,'learning_path'); |
|
|
|
|
INSERT INTO course_setting(variable,value,category) VALUES ('pdf_export_watermark_text','','course'); |
|
|
|
|