mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/17507] Fix 'add_primary_keys' db tools option for schema generator
PHPBB-17507
This commit is contained in:
@@ -398,7 +398,7 @@ class doctrine implements tools_interface
|
||||
return $this->alter_schema(
|
||||
function (Schema $schema) use ($table_name, $column): void
|
||||
{
|
||||
$this->schema_create_primary_key($schema, $column, $table_name);
|
||||
$this->schema_create_primary_key($schema, $table_name, $column);
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -990,7 +990,6 @@ class doctrine implements tools_interface
|
||||
/**
|
||||
* Creates primary key for a table
|
||||
*
|
||||
* @param $column
|
||||
* @param Schema $schema
|
||||
* @param string $table_name
|
||||
* @param array|string $column_name
|
||||
|
Reference in New Issue
Block a user