Move method into grammar.php instead of duplicating in each grammar

This commit is contained in:
Colin Viebrock
2012-02-29 15:21:20 -06:00
parent 26c7273493
commit b7d068f2f2
5 changed files with 15 additions and 60 deletions

View File

@@ -90,21 +90,6 @@ class MySQL extends Grammar {
return $columns;
}
/**
* Get the SQL syntax for indicating if a column is unsigned.
*
* @param Table $table
* @param Fluent $column
* @return string
*/
protected function unsigned(Table $table, Fluent $column)
{
if ($column->type == 'integer' && $column->unsigned)
{
return ' UNSIGNED';
}
}
/**
* Get the SQL syntax for indicating if a column is nullable.
*