Skip to content

Commit

Permalink
Fix for: Fixes yiisoft#186: Fixed incorrect database name exception
Browse files Browse the repository at this point in the history
  • Loading branch information
shirase committed Nov 3, 2016
1 parent d595e32 commit c483a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/model/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ protected function getSchemaNames()
if ($db->schema->defaultSchema !== null) {
return [$db->schema->defaultSchema];
}
return [];
return [''];
}

$schema = $db->getSchema();
Expand Down

0 comments on commit c483a78

Please sign in to comment.