-
-
Notifications
You must be signed in to change notification settings - Fork 835
Open
Description
HI
i am getting Error Call to undefined method Doctrine\DBAL\Connection::createSchemaManager()
when trying to generate scaffold from dattabase table using following command
`php artisan infyom:scaffold User --fromTable --table="users"`
Error
`
Error
Call to undefined method Doctrine\DBAL\Connection::createSchemaManager()
at vendor\laravel\framework\src\Illuminate\Database\Connection.php:1254
1250▕ public function getDoctrineSchemaManager()
1251▕ {
1252▕ $connection = $this->getDoctrineConnection();
1253▕
➜ 1254▕ return $connection->createSchemaManager();
1255▕ }
1256▕
1257▕ /**
1258▕ * Get the Doctrine DBAL database connection instance.
1 vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php:469
Illuminate\Database\Connection::getDoctrineSchemaManager()
2 vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:353
Illuminate\Database\DatabaseManager::__call("getDoctrineSchemaManager", [])
`
I tried it with laravel 10 with following packages
"doctrine/dbal": "~2.3",
"infyomlabs/laravel-generator": "^6.0",
"infyomlabs/adminlte-templates": "^6.0"
I tried with blank laravel 10 ad infyomlab Generator but still gettigng error.
Way to reproduce is
Create new laravel project
install infyomlab generator
try to generate scaffold.
Metadata
Metadata
Assignees
Labels
No labels