trying to fix MySQL CI
This commit is contained in:
parent
e13aca5503
commit
1f839dba3b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class MySQLDriver extends AbstractDriver
|
||||||
}
|
}
|
||||||
foreach ($args['virtualColumns'] as $path => $col) {
|
foreach ($args['virtualColumns'] as $path => $col) {
|
||||||
if (@$col['primary']) {
|
if (@$col['primary']) {
|
||||||
$lines[] = "PRIMARY KEY ({$col['name']})";
|
$lines[] = "PRIMARY KEY (`{$col['name']}`)";
|
||||||
} elseif (@$col['unique'] && $as = @$col['index']) {
|
} elseif (@$col['unique'] && $as = @$col['index']) {
|
||||||
$lines[] = "UNIQUE KEY `{$args['table']}_{$col['name']}_idx` (`{$col['name']}`) USING $as";
|
$lines[] = "UNIQUE KEY `{$args['table']}_{$col['name']}_idx` (`{$col['name']}`) USING $as";
|
||||||
} elseif ($as = @$col['index']) {
|
} elseif ($as = @$col['index']) {
|
||||||
|
|
Loading…
Reference in a new issue