Merge pull request #5594 from rxu/ticket/16061

[ticket/16061] Migrator to drop unique indexes when needed
This commit is contained in:
Marc Alexander 2019-06-17 09:02:54 +02:00
commit de308ea321

View file

@ -576,7 +576,7 @@ class tools implements tools_interface
{ {
foreach ($indexes as $index_name) 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; continue;
} }