Add "uri-id" to the "thread" table
This commit is contained in:
parent
d3ff749749
commit
3258216e8d
3 changed files with 15 additions and 4 deletions
11
update.php
11
update.php
|
@ -498,4 +498,13 @@ function update_1349()
|
|||
}
|
||||
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
function update_1351()
|
||||
{
|
||||
if (!DBA::e("UPDATE `thread` INNER JOIN `item` ON `thread`.`iid` = `item`.`id` SET `thread`.`uri-id` = `item`.`uri-id`")) {
|
||||
return Update::FAILED;
|
||||
}
|
||||
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue