Permalink
Browse files

Merge pull request #503 from sebastianbauer/master

added unsigned mapping to SchemaTool options
  • Loading branch information...
2 parents 7a89520 + a27be2f commit 863d14a61a825d0a14f23b19e7c26cc6c01b4a76 @guilhermeblanco guilhermeblanco committed Nov 6, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/Doctrine/ORM/Tools/SchemaTool.php
View
6 lib/Doctrine/ORM/Tools/SchemaTool.php
@@ -390,6 +390,12 @@ private function gatherColumn($class, array $mapping, Table $table)
unset($mapping['options']['comment']);
}
+ if (isset($mapping['options']['unsigned'])) {
+ $options['unsigned'] = $mapping['options']['unsigned'];
+
+ unset($mapping['options']['unsigned']);
+ }
+
$options['customSchemaOptions'] = $mapping['options'];
}

0 comments on commit 863d14a

Please sign in to comment.