[Aimmath-commit] moodle/mod/aim_quiz/db mysql.php,1.2,1.3
Brought to you by:
gustav_delius,
npstrick
From: <gus...@us...> - 2003-09-02 00:40:36
|
Update of /cvsroot/aimmath/moodle/mod/aim_quiz/db In directory sc8-pr-cvs1:/tmp/cvs-serv4126/mod/aim_quiz/db Modified Files: mysql.php Log Message: added problem and solution sheets and due date Index: mysql.php =================================================================== RCS file: /cvsroot/aimmath/moodle/mod/aim_quiz/db/mysql.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mysql.php 27 Aug 2003 14:21:24 -0000 1.2 --- mysql.php 2 Sep 2003 00:40:24 -0000 1.3 *************** *** 9,14 **** /*if ($oldversion < 2003082100) { }*/ return true; } ! ?> \ No newline at end of file --- 9,20 ---- /*if ($oldversion < 2003082100) { }*/ + if ($oldversion < 2003090300) { + execute_sql(" ALTER TABLE `aim_quiz` ". + " ADD `problem_sheet` VARCHAR(100) , ". + " ADD `solution_sheet` VARCHAR(100) , ". + " ADD `timedue` INT(10 ) unsigned default '0' "); + } return true; } ! ?> |