Commit 21d64b71 authored by Oleksandr Kovalov's avatar Oleksandr Kovalov

Fixed bug with comments not adding quotes for tables.

parent 443af382
......@@ -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