Merge pull request #824 from tobsn/patch-1
Added UNSIGNED to mysql grammar inrementer()
This commit is contained in:
commit
7354b5fc72
|
@ -143,7 +143,7 @@ protected function incrementer(Table $table, Fluent $column)
|
||||||
{
|
{
|
||||||
if ($column->type == 'integer' and $column->increment)
|
if ($column->type == 'integer' and $column->increment)
|
||||||
{
|
{
|
||||||
return ' AUTO_INCREMENT PRIMARY KEY';
|
return ' UNSIGNED AUTO_INCREMENT PRIMARY KEY';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue