mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Rename DoctrineMigrate to DoctrineMigrateTask
I hope this is the reason it doesn't works.
This commit is contained in:
		
							parent
							
								
									e9e5ab1d45
								
							
						
					
					
						commit
						5eb771bf30
					
				@ -15,7 +15,7 @@ use Mage\Task\BuiltIn\Symfony2\SymfonyAbstractTask;
 | 
				
			|||||||
/**
 | 
					/**
 | 
				
			||||||
 * Task for Doctrine migrations
 | 
					 * Task for Doctrine migrations
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
class DoctrineMigrate extends SymfonyAbstractTask
 | 
					class DoctrineMigrateTask extends SymfonyAbstractTask
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * (non-PHPdoc)
 | 
					     * (non-PHPdoc)
 | 
				
			||||||
@ -34,7 +34,9 @@ class DoctrineMigrate extends SymfonyAbstractTask
 | 
				
			|||||||
    public function run()
 | 
					    public function run()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        $env = $this->getParameter('env', 'dev');
 | 
					        $env = $this->getParameter('env', 'dev');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $command = $this->getAppPath() . ' doctrine:migrations:migrate -n --env=' . $env;
 | 
					        $command = $this->getAppPath() . ' doctrine:migrations:migrate -n --env=' . $env;
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        return $this->runCommand($command);
 | 
					        return $this->runCommand($command);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user