From f48a758a1e8bce122957fb2fc4c65966290cfead Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 26 Aug 2011 21:37:00 -0700 Subject: [PATCH] typo in update script --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.php b/update.php index ef036008fc..d92b1dd916 100644 --- a/update.php +++ b/update.php @@ -676,7 +676,7 @@ function update_1080() { } function update_1081() { - q("ALTER TABLE `photo` ADD `guid` CHAR( 64 ) NOT NULL AFTER `contact`id`, + q("ALTER TABLE `photo` ADD `guid` CHAR( 64 ) NOT NULL AFTER `contact-id`, ADD INDEX ( `guid` ) "); $r = q("SELECT distinct(`resource-id`) FROM `photo` WHERE 1 group by `id`"); if(count($r)) {