Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SchemaTool ignoring 'fixed' option fixed

  • Loading branch information...
commit cfee331006c0011ca09250bb7ba4e07c32bb68ad 1 parent 09d53f0
@smottt smottt authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 lib/Doctrine/ORM/Tools/SchemaTool.php
View
8 lib/Doctrine/ORM/Tools/SchemaTool.php
@@ -395,7 +395,13 @@ private function gatherColumn($class, array $mapping, Table $table)
unset($mapping['options']['unsigned']);
}
-
+
+ if (isset($mapping['options']['fixed'])) {
+ $options['fixed'] = $mapping['options']['fixed'];
+
+ unset($mapping['options']['fixed']);
+ }
+
$options['customSchemaOptions'] = $mapping['options'];
}
Please sign in to comment.
Something went wrong with that request. Please try again.