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 c29165a commit e4eb778Copy full SHA for e4eb778
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