see http://moodle.org/mod/forum/discuss.php?d=41501 for more details.
set_config('enrol', 'manual');
}
}
+
+ if ($oldversion < 2006031600) {
+ execute_sql(" ALTER TABLE `{$CFG->prefix}grade_category` CHANGE `weight` `weight` decimal(5,2) default '0.00';");
+ }
return $result;
}
`drop_x_lowest` int(10) unsigned NOT NULL default '0',
`bonus_points` int(10) unsigned NOT NULL default '0',
`hidden` int(10) unsigned NOT NULL default '0',
- `weight` decimal(4,2) default '0.00',
+ `weight` decimal(5,2) default '0.00',
PRIMARY KEY (`id`),
KEY `courseid` (`courseid`)
) TYPE=MyISAM ;
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2006031400; // YYYYMMDD = date
+ $version = 2006031600; // YYYYMMDD = date
// XY = increments within a single day
$release = '1.6 development'; // Human-friendly version name