Skip to content

Commit

Permalink
Merge pull request #119 from AntoineMarques/master
Browse files Browse the repository at this point in the history
Update MySqlSchemaAdapter.php
  • Loading branch information
odan authored Jul 12, 2024
2 parents 93aa470 + 0c4786d commit 8e06de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Migration/Adapter/Database/MySqlSchemaAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public function getSchema($tableNames = null): array
private function getDatabaseSchemata(string $dbName): array
{
$sql = 'SELECT
default_character_set_name,
default_collation_name
DEFAULT_CHARACTER_SET_NAME,
DEFAULT_COLLATION_NAME
FROM information_schema.SCHEMATA
WHERE schema_name = %s;';
$sql = sprintf($sql, $this->quote($dbName));
Expand Down

0 comments on commit 8e06de3

Please sign in to comment.