Page MenuHomePhorge

20190129.project.01.spaces.php
No OneTemporary

Size
514 B
Referenced Files
None
Subscribers
None

20190129.project.01.spaces.php

<?php
// See PHI1046. The "spacePHID" column for milestones may have fallen out of
// sync; correct all existing values.
$table = new PhabricatorProject();
$conn = $table->establishConnection('w');
$table_name = $table->getTableName();
foreach (new LiskRawMigrationIterator($conn, $table_name) as $project_row) {
queryfx(
$conn,
'UPDATE %R SET spacePHID = %ns
WHERE parentProjectPHID = %s AND milestoneNumber IS NOT NULL',
$table,
$project_row['spacePHID'],
$project_row['phid']);
}

File Metadata

Mime Type
text/x-php
Expires
Wed, May 14, 9:13 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
109745
Default Alt Text
20190129.project.01.spaces.php (514 B)

Event Timeline