We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8f0f91 commit 532ae5bCopy full SHA for 532ae5b
src/Console/ModelsCommand.php
@@ -463,7 +463,7 @@ protected function getTypeOverride($type)
463
*/
464
public function getPropertiesFromTable($model)
465
{
466
- $database = $model->getConnection()->getName();
+ $database = $model->getConnection()->getDatabaseName();
467
$table = $model->getConnection()->getTablePrefix() . $model->getTable();
468
$schema = $model->getConnection()->getDoctrineSchemaManager();
469
$databasePlatform = $schema->getDatabasePlatform();
0 commit comments