diff --git a/update.php b/update.php index d3b332926cc..ff607cec193 100644 --- a/update.php +++ b/update.php @@ -571,7 +571,7 @@ function update_fix_system_table() { break; case 'mysql': case 'mysqli': - $ret[] = update_sql("ALTER TABLE {system} ADD weight tinyint(3) unsigned default '0' NOT NULL, ADD KEY (weight)"); + $ret[] = update_sql("ALTER TABLE {system} ADD weight tinyint(2) default '0' NOT NULL, ADD KEY (weight)"); break; } }