Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2891189
20151210.land.2.refphid.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
361 B
Referenced Files
None
Subscribers
None
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
(
)
)
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 14:48 (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1125651
Default Alt Text
20151210.land.2.refphid.php (361 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment