summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index d3b332926..ff607cec1 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;
}
}