Permalink
Browse files

added unsigned mapping to SchemaTool options

  • Loading branch information...
1 parent ff80e99 commit a27be2fab61b1cfde4d2ecbc729a4a68816fca76 Sebastian Bauer committed Nov 5, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 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 a27be2f

Please sign in to comment.