1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 16:30:59 +01:00

Fix two migration issues with Maniphest

Summary: The new editor saves tasks before applying transactions, so fields need default values.
Also, I goofed the table name.

Auditors: btrahan
This commit is contained in:
epriestley 2013-09-24 12:03:14 -07:00
parent c4f320a7e8
commit 960da82f33
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ $rows = new LiskRawMigrationIterator($conn_w, 'maniphest_transaction');
$conn_w->openTransaction();
// NOTE: These were the correct table names at the time of this patch.
$xaction_table_name = 'maniphest_transaction_pro';
$xaction_table_name = 'maniphest_transactionpro';
$comment_table_name = 'maniphest_transaction_comment';
foreach ($rows as $row) {

View file

@ -18,9 +18,9 @@ final class ManiphestTask extends ManiphestDAO
protected $ownerPHID;
protected $ccPHIDs = array();
protected $status;
protected $status = ManiphestTaskStatus::STATUS_OPEN;
protected $priority;
protected $subpriority;
protected $subpriority = 0;
protected $title;
protected $originalTitle;