Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1630686
20140808.boardprop.3.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
531 B
Referenced Files
None
Subscribers
None
20140808.boardprop.3.php
View Options
<?php
$table
=
new
PhabricatorProjectColumn
();
$conn_w
=
$table
->
establishConnection
(
'w'
);
foreach
(
new
LiskMigrationIterator
(
$table
)
as
$column
)
{
$id
=
$column
->
getID
();
echo
pht
(
'Adjusting column %d...'
,
$id
).
"
\n
"
;
if
(
$column
->
getSequence
()
==
0
)
{
$properties
=
$column
->
getProperties
();
$properties
[
'isDefault'
]
=
true
;
queryfx
(
$conn_w
,
'UPDATE %T SET properties = %s WHERE id = %d'
,
$table
->
getTableName
(),
json_encode
(
$properties
),
$id
);
}
}
echo
pht
(
'Done.'
).
"
\n
"
;
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jul 16, 7:22 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
367071
Default Alt Text
20140808.boardprop.3.php (531 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment