[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
No known key found for this signature in database
GPG key ID: 955F0567380E586A

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