mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16061] Migrator to drop unique indexes when needed
PHPBB3-16061
This commit is contained in:
parent
8142257e31
commit
84ef70b42f
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ class tools implements tools_interface
|
|||
{
|
||||
foreach ($indexes as $index_name)
|
||||
{
|
||||
if (!$this->sql_index_exists($table, $index_name))
|
||||
if (!$this->sql_index_exists($table, $index_name) && !$this->sql_unique_index_exists($table, $index_name))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue