Skip to content

Commit

Permalink
add uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
macbookandrew committed Jul 19, 2024
1 parent 0b2d490 commit 1e68491
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 1e68491

Please sign in to comment.