commit
845023fc80
|
@ -99,7 +99,7 @@ protected function columns(Table $table)
|
||||||
*/
|
*/
|
||||||
protected function unsigned(Table $table, Fluent $column)
|
protected function unsigned(Table $table, Fluent $column)
|
||||||
{
|
{
|
||||||
if ($column->type == 'integer' && $column->unsigned)
|
if ($column->type == 'integer' && ($column->unsigned || $column->increment))
|
||||||
{
|
{
|
||||||
return ' UNSIGNED';
|
return ' UNSIGNED';
|
||||||
}
|
}
|
||||||
|
@ -260,7 +260,7 @@ public function drop_primary(Table $table, Fluent $command)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate the SQL statement for a drop unqique key command.
|
* Generate the SQL statement for a drop unique key command.
|
||||||
*
|
*
|
||||||
* @param Table $table
|
* @param Table $table
|
||||||
* @param Fluent $command
|
* @param Fluent $command
|
||||||
|
|
Loading…
Reference in New Issue