Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed May 5, 2024
1 parent 02df181 commit 0b9a0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ protected function findColumns(TableSchemaInterface $table): bool
$table->column($info['field'], $column);

if ($column->isPrimaryKey()) {
$table->primaryKey($column->getName());
$table->primaryKey($info['field']);
if ($column->isAutoIncrement()) {
$table->sequenceName('');
}
Expand Down

0 comments on commit 0b9a0d6

Please sign in to comment.