Arcanist Project migration uses wrong column in old table
Summary: Fixes T8375. This column is `repositoryID`, not `repository`. Test Plan: Examined schema. Reviewers: joshuaspence, btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T8375 Differential Revision: https://secure.phabricator.com/D13097
This commit is contained in:
@@ -11,7 +11,7 @@ $projects = queryfx_all(
|
||||
foreach ($projects as $project) {
|
||||
$repo = id(new PhabricatorRepositoryQuery())
|
||||
->setViewer(PhabricatorUser::getOmnipotentUser())
|
||||
->withIDs(array($project['repository']))
|
||||
->withIDs(array($project['repositoryID']))
|
||||
->executeOne();
|
||||
|
||||
if (!$repo) {
|
||||
|
||||
Reference in New Issue
Block a user