 		( `id` int(10) unsigned NOT NULL auto_increment,
 		  `course` int(10) unsigned NOT NULL default '0',
 		  `practice` tinyint(3) unsigned NOT NULL default '0',
+		  `modattempts` tinyint(3) unsigned NOT NULL default '0',
 		  `password` varchar(32) NOT NULL default '',
 		  `usepassword` int(3) unsigned NOT NULL default '0',
 		  `grade` tinyint(3) NOT NULL default '0',

  `answerid` int(10) unsigned NOT NULL default '0',
  `retry` int(3) unsigned NOT NULL default '0',
  `correct` int(10) unsigned NOT NULL default '0',
  `timeseen` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY (`userid`)

  `course` int(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `practice` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
  `modattempts` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
  `usepassword` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
  `password` VARCHAR(32) NOT NULL default '',
  `grade` tinyint(3) NOT NULL default '0',
