Commit 0051a1ec by Christian Nadolle

sort options by action in Migration controller

parent 706ab7f9
...@@ -97,9 +97,10 @@ class MigrateController extends Controller ...@@ -97,9 +97,10 @@ class MigrateController extends Controller
*/ */
public function options($id) public function options($id)
{ {
return array_merge(parent::options($id), [ return array_merge(parent::options($id),
'migrationPath', 'migrationTable', 'db', 'templateFile', 'interactive', 'color' ['migrationPath', 'migrationTable', 'db'], // global for all actions
]); ($id == 'create') ? ['templateFile'] : [] // action create
);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment