1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 22:41:28 +02:00

[ticket/17525] Provide Doctrine connection via dbtools

PHPBB-17525
This commit is contained in:
rxu
2025-07-01 15:53:19 +07:00
parent 1cadb3818a
commit 4274faa715
3 changed files with 9 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ class rename_duplicated_index_names extends migration
public function get_tables_index_names()
{
$table_keys = [];
$schema_manager = $this->db_doctrine->createSchemaManager();
$schema_manager = $this->db_tools->get_connection()->createSchemaManager();
$table_names = $schema_manager->listTableNames();
if (!empty($table_names))