Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Dec 15, 2023
1 parent 5fcff3f commit d686e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ protected function isNumericColumn(string $table, string $column): bool
{
$type = $this->getPrimaryKeyType($this->source(), $table, $column);

return ! in_array($type, ['string', 'char'], true);
return ! in_array($type, ['string', 'char', 'ulid', 'uuid'], true);
}

protected function tables(): array
Expand Down

0 comments on commit d686e55

Please sign in to comment.