Commit 8e7fb644 authored by Markus Fasselt's avatar Markus Fasselt

Quote the name of an index in the create table statement.

parent b4775238
...@@ -1517,7 +1517,7 @@ abstract class AbstractPlatform ...@@ -1517,7 +1517,7 @@ abstract class AbstractPlatform
$options['primary'] = $index->getQuotedColumns($this); $options['primary'] = $index->getQuotedColumns($this);
$options['primary_index'] = $index; $options['primary_index'] = $index;
} else { } else {
$options['indexes'][$index->getName()] = $index; $options['indexes'][$index->getQuotedName($this)] = $index;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment