mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-03 14:22:15 +02:00
18 lines
349 B
PHP
18 lines
349 B
PHP
<?php
|
|
class Mage_Task_BuiltIn_Symfony1_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;
|
|
}
|
|
}
|