Correct flipped transaction constants in "Closed Date" migration
Summary: These transaction constants are flipped, which can produce the wrong result in some cases. Test Plan: `./bin/storage upgrade -f --apply phabricator:20180208.maniphest.02.populate.php` Differential Revision: https://secure.phabricator.com/D19054
This commit is contained in:
		@@ -20,8 +20,8 @@ foreach (new LiskMigrationIterator($table) as $task) {
 | 
			
		||||
  // where the task was closed. A merge also counts as a close, even though
 | 
			
		||||
  // it doesn't currently produce a separate transaction.
 | 
			
		||||
 | 
			
		||||
  $type_merge = ManiphestTaskStatusTransaction::TRANSACTIONTYPE;
 | 
			
		||||
  $type_status = ManiphestTaskMergedIntoTransaction::TRANSACTIONTYPE;
 | 
			
		||||
  $type_status = ManiphestTaskStatusTransaction::TRANSACTIONTYPE;
 | 
			
		||||
  $type_merge = ManiphestTaskMergedIntoTransaction::TRANSACTIONTYPE;
 | 
			
		||||
 | 
			
		||||
  $xactions = id(new ManiphestTransactionQuery())
 | 
			
		||||
    ->setViewer($viewer)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user