Hi, to day I try to generate a model by my BDD mysql but some error show me and it can't generated when I use 2 commands php artisan code:models and second specifying the schema php artisan code:models --schema=nexus in two times this is the error
Method Illuminate\Database\MySqlConnection::getDoctrineSchemaManager does not exist.
at vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:112
108▕ */
109▕ public function __call($method, $parameters)
110▕ {
111▕ if (! static::hasMacro($method)) {
➜ 112▕ throw new BadMethodCallException(sprintf(
113▕ 'Method %s::%s does not exist.', static::class, $method
114▕ ));
115▕ }
116▕
i Bad Method Call: Did you mean Illuminate\Database\MySqlConnection::getSchemaGrammar() ?
Method Illuminate\Database\MySqlConnection::getDoctrineSchemaManager does not exist.
at vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:112
108▕ */
109▕ public function __call($method, $parameters)
110▕ {
111▕ if (! static::hasMacro($method)) {
➜ 112▕ throw new BadMethodCallException(sprintf(
113▕ 'Method %s::%s does not exist.', static::class, $method
114▕ ));
115▕ }
116▕
i Bad Method Call: Did you mean Illuminate\Database\MySqlConnection::getSchemaGrammar() ?
Hi, to day I try to generate a model by my BDD mysql but some error show me and it can't generated when I use 2 commands php artisan code:models and second specifying the schema php artisan code:models --schema=nexus in two times this is the error
PS C:\xampp\htdocs\nexus> php artisan code:models --schema=nexus
BadMethodCallException
Method Illuminate\Database\MySqlConnection::getDoctrineSchemaManager does not exist.
at vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:112 108▕ */ 109▕ public function __call($method, $parameters) 110▕ { 111▕ if (! static::hasMacro($method)) { ➜ 112▕ throw new BadMethodCallException(sprintf( 113▕ 'Method %s::%s does not exist.', static::class, $method 114▕ )); 115▕ } 116▕
i Bad Method Call: Did you mean Illuminate\Database\MySqlConnection::getSchemaGrammar() ?
1 vendor\reliese\laravel\src\Meta\MySql\Schema.php:273
2 [internal]:0 Reliese\Meta\MySql\Schema::schemas(Object(Illuminate\Database\MySqlConnection))
C:\xampp\htdocs\nexus> php artisan code:models --schema=nexus
BadMethodCallException
Method Illuminate\Database\MySqlConnection::getDoctrineSchemaManager does not exist.
at vendor\laravel\framework\src\Illuminate\Macroable\Traits\Macroable.php:112 108▕ */ 109▕ public function __call($method, $parameters) 110▕ { 111▕ if (! static::hasMacro($method)) { ➜ 112▕ throw new BadMethodCallException(sprintf( 113▕ 'Method %s::%s does not exist.', static::class, $method 114▕ )); 115▕ } 116▕
i Bad Method Call: Did you mean Illuminate\Database\MySqlConnection::getSchemaGrammar() ?
1 vendor\reliese\laravel\src\Meta\MySql\Schema.php:273 Illuminate\Database\Connection::__call("getDoctrineSchemaManager", [])
2 [internal]:0 Reliese\Meta\MySql\Schema::schemas(Object(Illuminate\Database\MySqlConnection))