Skip to content

Commit

Permalink
Update src/Database/Schema/MysqlSchemaDialect.php
Browse files Browse the repository at this point in the history
Co-authored-by: othercorey <corey.taylor.fl@gmail.com>
  • Loading branch information
markstory and othercorey committed Sep 11, 2022
1 parent 77760a9 commit af2cb5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Schema/MysqlSchemaDialect.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function convertIndexDescription(TableSchema $schema, array $row): void
$name = $type = TableSchema::CONSTRAINT_PRIMARY;
}

if (strlen($row['Column_name'] ?? '')) {
if (!empty($row['Column_name'])) {
$columns[] = $row['Column_name'];
}

Expand Down

0 comments on commit af2cb5c

Please sign in to comment.