You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the issue it was eraser than I expect. in CLI file line 675 function getURI():
change return implode(' ', static::$segments); to return implode('/', static::$segments);
Hi,
While trying to test migrations using CLI and adding parameters it will not work.
example:
run: php ci.php migrate:version 007
will get: Command 'migrate:version 007' not found
the problem is in CLI/console line 68 ($this->app->setPath("ci{$path}");) the setpath will implode all command segments.
Also line 69 (return $this->app->run();) should send command parameters this means that no parameters are passed to CLI command.
I can suggest a fix as the following:
If this solution is ok I can make a pull request :)
The text was updated successfully, but these errors were encountered: