mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-06-26 03:40:54 +03:00
Updated for Minion 3.4 - New
- New command will now work. As of the most recent update the _execute function does not take arguments, and these have been removed.
This commit is contained in:
parent
c1d7d5a961
commit
d5244b9e72
|
@ -44,11 +44,11 @@ class Task_Migrations_New extends Minion_Task {
|
||||||
*
|
*
|
||||||
* @param array $options Configuration
|
* @param array $options Configuration
|
||||||
*/
|
*/
|
||||||
protected function _execute(array $options)
|
protected function _execute()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$file = $this->generate($options);
|
$file = $this->generate($this->_options);
|
||||||
Minion_CLI::write('Migration generated: '.$file);
|
Minion_CLI::write('Migration generated: '.$file);
|
||||||
}
|
}
|
||||||
catch (ErrorException $e)
|
catch (ErrorException $e)
|
||||||
|
|
Loading…
Reference in a new issue