Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100947145
20151210.land.2.refphid.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, Feb 4, 05:15
Size
361 B
Mime Type
text/x-php
Expires
Thu, Feb 6, 05:15 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
24061783
Attached To
rPH Phabricator
20151210.land.2.refphid.php
View Options
<?php
$table
=
new
PhabricatorRepositoryRefCursor
();
$conn_w
=
$table
->
establishConnection
(
'w'
);
foreach
(
new
LiskMigrationIterator
(
$table
)
as
$cursor
)
{
if
(
strlen
(
$cursor
->
getPHID
()))
{
continue
;
}
queryfx
(
$conn_w
,
'UPDATE %T SET phid = %s WHERE id = %d'
,
$table
->
getTableName
(),
$table
->
generatePHID
(),
$cursor
->
getID
());
}
Event Timeline
Log In to Comment