We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
id
bigIncrements
1 parent 8a2b7d3 commit dfbb267Copy full SHA for dfbb267
src/Generators/MigrationGenerator.php
@@ -58,7 +58,7 @@ protected function buildDefinition(Model $model)
58
foreach ($model->columns() as $column) {
59
$dataType = $column->dataType();
60
if ($column->name() === 'id') {
61
- $dataType = 'increments';
+ $dataType = 'bigIncrements';
62
} elseif ($column->dataType() === 'id') {
63
$dataType = 'unsignedBigInteger';
64
}
0 commit comments