diff options
-rw-r--r-- | install/update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 7cdeb0e89..7c755dd2d 100644 --- a/install/update.php +++ b/install/update.php @@ -351,7 +351,7 @@ ADD INDEX ( `abook_rating` )"); } function update_r1028() { - $r = q"ALTER TABLE `xlink` ADD `xlink_rating` INT NOT NULL DEFAULT '0' AFTER `xlink_link` , + $r = q("ALTER TABLE `xlink` ADD `xlink_rating` INT NOT NULL DEFAULT '0' AFTER `xlink_link` , ADD INDEX ( `xlink_rating` ) "); if($r) return UPDATE_SUCCESS; |