Adding scorm->skipview to PostgreSQL
This commit is contained in:
@@ -240,6 +240,10 @@ function scorm_upgrade($oldversion) {
|
||||
modify_database('', 'ALTER TABLE prefix_scorm_scoes_track ADD CONSTRAINT prefix_scorm_scoes_track_userid_key UNIQUE (userid, scormid, scoid, attempt, element)');
|
||||
}
|
||||
|
||||
if ($oldversion < 2006102600) {
|
||||
table_column("scorm", "", "skipview", "integer", "", "", "1", "NOT NULL");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -11,6 +11,7 @@ CREATE TABLE prefix_scorm (
|
||||
grademethod integer NOT NULL default '0',
|
||||
maxattempt integer NOT NULL default '1',
|
||||
launch integer NOT NULL default '0',
|
||||
skipview integer NOT NULL default '1',
|
||||
summary text NOT NULL default '',
|
||||
hidebrowse integer NOT NULL default '0',
|
||||
hidetoc integer NOT NULL default '0',
|
||||
|
||||
Reference in New Issue
Block a user