Merge pull request #824 from tobsn/patch-1

Added UNSIGNED to mysql grammar inrementer()
This commit is contained in:
Taylor Otwell 2012-06-20 09:46:16 -07:00
commit 7354b5fc72
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ protected function incrementer(Table $table, Fluent $column)
{
if ($column->type == 'integer' and $column->increment)
{
return ' AUTO_INCREMENT PRIMARY KEY';
return ' UNSIGNED AUTO_INCREMENT PRIMARY KEY';
}
}