mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-13 03:02:20 +02: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
|
||||
*/
|
||||
class DoctrineMigrate extends SymfonyAbstractTask
|
||||
class DoctrineMigrateTask extends SymfonyAbstractTask
|
||||
{
|
||||
/**
|
||||
* (non-PHPdoc)
|
||||
|
@ -34,7 +34,9 @@ class DoctrineMigrate extends SymfonyAbstractTask
|
|||
public function run()
|
||||
{
|
||||
$env = $this->getParameter('env', 'dev');
|
||||
|
||||
$command = $this->getAppPath() . ' doctrine:migrations:migrate -n --env=' . $env;
|
||||
|
||||
return $this->runCommand($command);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue