mirror of https://github.com/hauke68/Magallanes
Ismael Ambrosi
13 years ago
2 changed files with 8 additions and 8 deletions
@ -1,17 +1,17 @@
|
||||
<?php |
||||
class Mage_Task_BuiltIn_Symfony_ClearCache |
||||
class Mage_Task_BuiltIn_Symfony_Migrate |
||||
extends Mage_Task_TaskAbstract |
||||
{ |
||||
public function getName() |
||||
{ |
||||
return 'Symfony v1 - Run Migrations [built-in]'; |
||||
} |
||||
|
||||
|
||||
public function run() |
||||
{ |
||||
$command = 'symfony doctrine:migrate'; |
||||
$result = $this->_runLocalCommand($command); |
||||
|
||||
|
||||
return $result; |
||||
} |
||||
} |
||||
} |
||||
|
@ -1,17 +1,17 @@
|
||||
<?php |
||||
class Mage_Task_BuiltIn_Symfony2_ClearCache |
||||
class Mage_Task_BuiltIn_Symfony2_Migrate |
||||
extends Mage_Task_TaskAbstract |
||||
{ |
||||
public function getName() |
||||
{ |
||||
return 'Symfony v2 - Run Migrations [built-in]'; |
||||
} |
||||
|
||||
|
||||
public function run() |
||||
{ |
||||
$command = 'app/console doctrine:migrations:migrate'; |
||||
$result = $this->_runLocalCommand($command); |
||||
|
||||
|
||||
return $result; |
||||
} |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue