typo in update script
authorFriendika <info@friendika.com>
Sat, 27 Aug 2011 04:37:00 +0000 (21:37 -0700)
committerFriendika <info@friendika.com>
Sat, 27 Aug 2011 04:37:00 +0000 (21:37 -0700)
update.php

index ef036008fcb4abae39ad19f5b1cf27966b227d3e..d92b1dd91662ee62f8fb164f934d5a7506817b8a 100644 (file)
@@ -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)) {