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

View File

@@ -143,7 +143,7 @@ class MySQL extends Grammar {
{
if ($column->type == 'integer' and $column->increment)
{
return ' AUTO_INCREMENT PRIMARY KEY';
return ' UNSIGNED AUTO_INCREMENT PRIMARY KEY';
}
}