Skip to content

Commit

Permalink
use increments as default id
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalinfyom committed Jul 7, 2021
1 parent 6398902 commit 272cd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/CommandData.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private function addPrimaryKey()
} else {
$primaryKey->name = 'id';
}
$primaryKey->parseDBType('id');
$primaryKey->parseDBType('increments');
$primaryKey->parseOptions('s,f,p,if,ii');

$this->fields[] = $primaryKey;
Expand Down

0 comments on commit 272cd80

Please sign in to comment.