s/text/longtext/ for scorm suspend_data

skala
arnaud 14 years ago
parent 2d87b71e85
commit 048841d103
  1. 2
      main/inc/lib/add_course.lib.inc.php
  2. 2
      main/install/migrate-db-1.8.6.2-1.8.7-pre.sql

@ -1284,7 +1284,7 @@ function update_Db_course($courseDbName, $language = null)
"total_time int unsigned not null default 0," . //after how many seconds did he close it?
"score float unsigned not null default 0," . //score returned by SCORM or other techs
"status char(32) not null default 'not attempted'," . //status for this item (SCORM)
"suspend_data text null default ''," .
"suspend_data longtext null default ''," .
"lesson_location text null default ''," .
"core_exit varchar(32) not null default 'none'," .
"max_score varchar(8) default ''" .

@ -196,3 +196,5 @@ ALTER TABLE student_publication MODIFY COLUMN description TEXT DEFAULT NULL;
ALTER TABLE student_publication ADD COLUMN user_id INTEGER NOT NULL AFTER session_id;
INSERT INTO course_setting(variable,value,category) VALUES ('email_alert_students_on_new_homework',0,'work');
ALTER TABLE lp ADD COLUMN hide_toc_frame TINYINT NOT NULL DEFAULT 0;
alter table lp_item_view modify column suspend_data longtext;

Loading…
Cancel
Save