1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/16061] Migrator to drop unique indexes when needed

PHPBB3-16061
This commit is contained in:
rxu
2019-05-18 02:08:30 +07:00
parent 8142257e31
commit 84ef70b42f

View File

@@ -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;
}