mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +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:
parent
c4f320a7e8
commit
960da82f33
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ $rows = new LiskRawMigrationIterator($conn_w, 'maniphest_transaction');
|
||||||
$conn_w->openTransaction();
|
$conn_w->openTransaction();
|
||||||
|
|
||||||
// NOTE: These were the correct table names at the time of this patch.
|
// 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';
|
$comment_table_name = 'maniphest_transaction_comment';
|
||||||
|
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
|
|
|
@ -18,9 +18,9 @@ final class ManiphestTask extends ManiphestDAO
|
||||||
protected $ownerPHID;
|
protected $ownerPHID;
|
||||||
protected $ccPHIDs = array();
|
protected $ccPHIDs = array();
|
||||||
|
|
||||||
protected $status;
|
protected $status = ManiphestTaskStatus::STATUS_OPEN;
|
||||||
protected $priority;
|
protected $priority;
|
||||||
protected $subpriority;
|
protected $subpriority = 0;
|
||||||
|
|
||||||
protected $title;
|
protected $title;
|
||||||
protected $originalTitle;
|
protected $originalTitle;
|
||||||
|
|
Loading…
Reference in a new issue