Skip to content

Commit

Permalink
Add UNSIGNED attribute to serial columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Nov 7, 2011
1 parent 29a263c commit 5f667bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Adapter.php
Expand Up @@ -803,7 +803,7 @@ protected function compileColumnType($type)

protected function compileColumnSerial($name)
{
return $name.' INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY';
return $name.' INTEGER UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY';
}

protected function compileJoin(array $joins)
Expand Down

0 comments on commit 5f667bf

Please sign in to comment.