Page MenuHomePhorge

20180120.auth.04.vcsphid.php
No OneTemporary

Size
477 B
Referenced Files
None
Subscribers
None

20180120.auth.04.vcsphid.php

<?php
// Populate VCS passwords (which we copied from the old "VCS Password" table
// in the last migration) with new PHIDs.
$table = new PhabricatorAuthPassword();
$conn = $table->establishConnection('w');
foreach (new LiskMigrationIterator($table) as $row) {
if ($row->getPHID()) {
continue;
}
$new_phid = $row->generatePHID();
queryfx(
$conn,
'UPDATE %T SET phid = %s WHERE id = %d',
$table->getTableName(),
$new_phid,
$row->getID());
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jul 14, 12:57 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
352258
Default Alt Text
20180120.auth.04.vcsphid.php (477 B)

Event Timeline