Skip to content

Commit 272cd80

Browse files
committed
use increments as default id
1 parent 6398902 commit 272cd80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/CommandData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private function addPrimaryKey()
200200
} else {
201201
$primaryKey->name = 'id';
202202
}
203-
$primaryKey->parseDBType('id');
203+
$primaryKey->parseDBType('increments');
204204
$primaryKey->parseOptions('s,f,p,if,ii');
205205

206206
$this->fields[] = $primaryKey;

0 commit comments

Comments
 (0)