Page MenuHomestyx hydra

No OneTemporary

diff --git a/resources/sql/autopatches/20150503.repositorysymbols.2.php b/resources/sql/autopatches/20150503.repositorysymbols.2.php
index a3a380dadd..0fc669e86b 100644
--- a/resources/sql/autopatches/20150503.repositorysymbols.2.php
+++ b/resources/sql/autopatches/20150503.repositorysymbols.2.php
@@ -1,29 +1,29 @@
<?php
$table = new PhabricatorRepositorySymbol();
$conn_w = $table->establishConnection('w');
$projects = queryfx_all(
$conn_w,
'SELECT * FROM %T',
'repository_arcanistproject');
foreach ($projects as $project) {
$repo = id(new PhabricatorRepositoryQuery())
->setViewer(PhabricatorUser::getOmnipotentUser())
- ->withIDs(array($project['repository']))
+ ->withIDs(array($project['repositoryID']))
->executeOne();
if (!$repo) {
continue;
}
echo pht("Migrating symbols for '%s' project...\n", $project['name']);
queryfx(
$conn_w,
'UPDATE %T SET repositoryPHID = %s WHERE arcanistProjectID = %d',
$table->getTableName(),
$repo->getPHID(),
$project['id']);
}

File Metadata

Mime Type
text/x-diff
Expires
Tue, Dec 2, 3:00 PM (15 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
432153
Default Alt Text
(1 KB)

Event Timeline