Skip to content

Commit

Permalink
Merge pull request doctrine#28 from diegoholiveira/master
Browse files Browse the repository at this point in the history
Unsigned is missing on the column data.
  • Loading branch information
guilhermeblanco committed Jun 7, 2011
2 parents 3d74ac1 + a4853e3 commit c73176c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ public function getCreateTableSQL(Table $table, $createFlags=self::CREATE_INDEXE
if(strtolower($columnData['type']) == "string" && $columnData['length'] === null) {
$columnData['length'] = 255;
}
$columnData['unsigned'] = $column->getUnsigned();
$columnData['precision'] = $column->getPrecision();
$columnData['scale'] = $column->getScale();
$columnData['default'] = $column->getDefault();
Expand Down

0 comments on commit c73176c

Please sign in to comment.