projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
721db93
)
typo in update script
author
Friendika
<info@friendika.com>
Sat, 27 Aug 2011 04:37:00 +0000
(21:37 -0700)
committer
Friendika
<info@friendika.com>
Sat, 27 Aug 2011 04:37:00 +0000
(21:37 -0700)
update.php
patch
|
blob
|
history
diff --git
a/update.php
b/update.php
index ef036008fcb4abae39ad19f5b1cf27966b227d3e..d92b1dd91662ee62f8fb164f934d5a7506817b8a 100644
(file)
--- 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)) {