Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103715354
20180215.phriction.02.phidvalues.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Mar 4, 06:03
Size
334 B
Mime Type
text/x-php
Expires
Thu, Mar 6, 06:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24632118
Attached To
rPH Phabricator
20180215.phriction.02.phidvalues.php
View Options
<?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
());
}
Event Timeline
Log In to Comment