1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 12:40:18 +02:00

Rename DoctrineMigrate to DoctrineMigrateTask

I hope this is the reason it doesn't works.
This commit is contained in:
samuel4x4 2014-11-24 01:08:52 +02:00
parent e9e5ab1d45
commit 5eb771bf30

View File

@ -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);
} }
} }