1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 20:50:18 +02:00
Magallanes/Mage/Task/BuiltIn/Symfony1/Migrate.php

18 lines
348 B
PHP
Raw Normal View History

<?php
2012-06-27 01:01:11 +02:00
class Mage_Task_BuiltIn_Symfony_Migrate
extends Mage_Task_TaskAbstract
{
public function getName()
{
return 'Symfony v1 - Run Migrations [built-in]';
}
2012-06-27 01:01:11 +02:00
public function run()
{
$command = 'symfony doctrine:migrate';
$result = $this->_runLocalCommand($command);
2012-06-27 01:01:11 +02:00
return $result;
}
2012-06-27 01:01:11 +02:00
}