Add "uri-id" to the "thread" table
This commit is contained in:
+10
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user