Skip to content

Commit

Permalink
Add $database parameter for methods: listTableIndexes, listTableDetails
Browse files Browse the repository at this point in the history
  • Loading branch information
stdex committed Nov 6, 2020
1 parent cf4f357 commit 8b322ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ protected function _getPortableTableForeignKeysList($tableForeignKeys)
return $result;
}

/**
* {@inheritdoc}
*/
public function listTableDetails(string $name, ?string $database = null)
{
$table = parent::listTableDetails($name, $database);
Expand Down
3 changes: 3 additions & 0 deletions lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ protected function _getPortableViewDefinition($view)
return new View($view['name'], '');
}

/**
* {@inheritdoc}
*/
public function listTableIndexes(string $table, ?string $database = null)
{
if (! $database) {
Expand Down

0 comments on commit 8b322ea

Please sign in to comment.