Update of /cvsroot/aimmath/moodle/mod/math_assignment/db
In directory sc8-pr-cvs1:/tmp/cvs-serv16244/mod/math_assignment/db
Modified Files:
mysql.php mysql.sql
Log Message:
Changed focus to aimfocus.
Index: mysql.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/db/mysql.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** mysql.php 23 Sep 2003 17:53:09 -0000 1.9
--- mysql.php 24 Sep 2003 13:22:22 -0000 1.10
***************
*** 17,20 ****
--- 17,23 ----
execute_sql("ALTER TABLE `{$CFG->prefix}math_assignment_subject` DROP INDEX `UNIQUE`");
}
+ if ($oldversion < 2003092414) {
+ execute_sql("ALTER TABLE `{$CFG->prefix}math_assignment` CHANGE `focus` `aimfocus` tinyint(1) unsigned NOT NULL default '1' AFTER aimquiz");
+ }
return true;
Index: mysql.sql
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/db/mysql.sql,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** mysql.sql 23 Sep 2003 17:53:10 -0000 1.8
--- mysql.sql 24 Sep 2003 13:22:22 -0000 1.9
***************
*** 15,23 ****
solutionsisurl tinyint(1) NOT NULL default '1',
aimquiz varchar(255) NOT NULL default '',
papergrade int(10) unsigned NOT NULL default '0',
aimgrade int(10) unsigned NOT NULL default '0',
timedue int(10) unsigned NOT NULL default '0',
timemodified int(10) unsigned NOT NULL default '0',
- focus tinyint(3) unsigned NOT NULL default '1',
PRIMARY KEY (id)
) TYPE=MyISAM COMMENT='Main information about each math assignment';
--- 15,23 ----
solutionsisurl tinyint(1) NOT NULL default '1',
aimquiz varchar(255) NOT NULL default '',
+ aimfocus tinyint(1) unsigned NOT NULL default '1',
papergrade int(10) unsigned NOT NULL default '0',
aimgrade int(10) unsigned NOT NULL default '0',
timedue int(10) unsigned NOT NULL default '0',
timemodified int(10) unsigned NOT NULL default '0',
PRIMARY KEY (id)
) TYPE=MyISAM COMMENT='Main information about each math assignment';
|