Skip to content

Commit af2cb5c

Browse files
Update src/Database/Schema/MysqlSchemaDialect.php
Co-authored-by: othercorey <corey.taylor.fl@gmail.com>
1 parent 77760a9 commit af2cb5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Schema/MysqlSchemaDialect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public function convertIndexDescription(TableSchema $schema, array $row): void
238238
$name = $type = TableSchema::CONSTRAINT_PRIMARY;
239239
}
240240

241-
if (strlen($row['Column_name'] ?? '')) {
241+
if (!empty($row['Column_name'])) {
242242
$columns[] = $row['Column_name'];
243243
}
244244

0 commit comments

Comments
 (0)