diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-06-17 09:02:54 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-06-17 09:02:54 +0200 |
commit | de308ea321ed43ee5f82a73e95321f755acf36d8 (patch) | |
tree | 6df61148deb27abeb46f9153e507a273a1b63d38 /phpBB/phpbb/db | |
parent | 7ca740bec8db6c1d50bdf66c964259092ef6a6d3 (diff) | |
parent | 84ef70b42f1118bbc1f835773e21aa183978ad25 (diff) | |
download | forums-de308ea321ed43ee5f82a73e95321f755acf36d8.tar forums-de308ea321ed43ee5f82a73e95321f755acf36d8.tar.gz forums-de308ea321ed43ee5f82a73e95321f755acf36d8.tar.bz2 forums-de308ea321ed43ee5f82a73e95321f755acf36d8.tar.xz forums-de308ea321ed43ee5f82a73e95321f755acf36d8.zip |
Merge pull request #5594 from rxu/ticket/16061
[ticket/16061] Migrator to drop unique indexes when needed
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/tools/tools.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/tools/tools.php b/phpBB/phpbb/db/tools/tools.php index d21d34b8a9..c3352a1f66 100644 --- a/phpBB/phpbb/db/tools/tools.php +++ b/phpBB/phpbb/db/tools/tools.php @@ -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; } |