From cfee331006c0011ca09250bb7ba4e07c32bb68ad Mon Sep 17 00:00:00 2001 From: Metod Date: Wed, 7 Nov 2012 16:31:31 +0100 Subject: [PATCH] SchemaTool ignoring 'fixed' option fixed --- lib/Doctrine/ORM/Tools/SchemaTool.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/SchemaTool.php b/lib/Doctrine/ORM/Tools/SchemaTool.php index be3513423..ec7023075 100644 --- a/lib/Doctrine/ORM/Tools/SchemaTool.php +++ b/lib/Doctrine/ORM/Tools/SchemaTool.php @@ -395,7 +395,13 @@ class SchemaTool unset($mapping['options']['unsigned']); } - + + if (isset($mapping['options']['fixed'])) { + $options['fixed'] = $mapping['options']['fixed']; + + unset($mapping['options']['fixed']); + } + $options['customSchemaOptions'] = $mapping['options']; }