Page MenuHomePhorge

20180215.phriction.02.phidvalues.php
No OneTemporary

Size
334 B
Referenced Files
None
Subscribers
None

20180215.phriction.02.phidvalues.php

<?php
$table = new PhrictionContent();
$conn = $table->establishConnection('w');
foreach (new LiskMigrationIterator($table) as $row) {
if (strlen($row->getPHID())) {
continue;
}
queryfx(
$conn,
'UPDATE %T SET phid = %s WHERE id = %d',
$table->getTableName(),
$table->generatePHID(),
$row->getID());
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jul 16, 6:01 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
366792
Default Alt Text
20180215.phriction.02.phidvalues.php (334 B)

Event Timeline