Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79245065
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
Sun, Aug 25, 11:25
Size
334 B
Mime Type
text/x-php
Expires
Tue, Aug 27, 11:25 (2 d)
Engine
blob
Format
Raw Data
Handle
20166933
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