Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1198943
20180306.opath.02.digestpopulate.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
402 B
Referenced Files
None
Subscribers
None
20180306.opath.02.digestpopulate.php
View Options
<?php
$table
=
new
PhabricatorOwnersPath
();
$conn
=
$table
->
establishConnection
(
'w'
);
foreach
(
new
LiskMigrationIterator
(
$table
)
as
$path
)
{
$index
=
PhabricatorHash
::
digestForIndex
(
$path
->
getPath
());
if
(
$index
===
$path
->
getPathIndex
())
{
continue
;
}
queryfx
(
$conn
,
'UPDATE %T SET pathIndex = %s WHERE id = %d'
,
$table
->
getTableName
(),
$index
,
$path
->
getID
());
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jul 2, 9:23 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
295877
Default Alt Text
20180306.opath.02.digestpopulate.php (402 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment