Commit d56c9fe2 authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #218 from okovalov/master

[MySQL] Fixed bug with comments not adding quotes for tables
parents d26680ac 21d64b71
......@@ -368,7 +368,7 @@ class MySqlPlatform extends AbstractPlatform
$query .= 'TABLE ' . $tableName . ' (' . $queryFields . ') ';
if (isset($options['comment'])) {
$query .= 'COMMENT = ' . $options['comment'] . ' ';
$query .= sprintf("COMMENT = '%s' ", $options['comment']);
}
if ( ! isset($options['charset'])) {
......
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