Commit 24fb533b authored by Markus Fasselt's avatar Markus Fasselt Committed by Steve Müller

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

parent 6a20c28e
...@@ -1227,7 +1227,7 @@ abstract class AbstractPlatform ...@@ -1227,7 +1227,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