Commit e0d491cb authored by Tobias Orterer's avatar Tobias Orterer

Added UNSIGNED to mysql grammar inrementer()

Added UNSIGNED to the mysql grammar file because auto increment fields
only run upwards, it's a waste of space to provide negative values by
the default SIGNED state of INT.
parent 681f80ea
...@@ -143,7 +143,7 @@ class MySQL extends Grammar { ...@@ -143,7 +143,7 @@ class MySQL extends Grammar {
{ {
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';
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment