Skip to content

Commit

Permalink
bugfix: add uuid case
Browse files Browse the repository at this point in the history
  • Loading branch information
macbookandrew committed Jul 29, 2024
1 parent 7f3029a commit a84a157
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/SchemaFactoryMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ protected function buildModel($output, $model)
$args = [$name, $notNull ? (array)$default : null];
break;
case 'guid':
case 'uuid':
$format = 'Schema::string(%s)->format(Schema::FORMAT_UUID)->default(%s)';
$args = [$name, $notNull ? (array)$default : null];
break;
Expand Down

0 comments on commit a84a157

Please sign in to comment.