From 272cd80197711747211573294605279d6c9b355b Mon Sep 17 00:00:00 2001 From: Vishal InfyOm Date: Wed, 7 Jul 2021 15:40:47 +0530 Subject: [PATCH] use increments as default id --- src/Common/CommandData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/CommandData.php b/src/Common/CommandData.php index f0292e0bf..662505b30 100755 --- a/src/Common/CommandData.php +++ b/src/Common/CommandData.php @@ -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;