I tried this syntax as well but I cannot make it work. Maybe I made 
something wrong?

my app/config/config.yml.

 35: doctrine:
 36:     dbal:
 43:         types:
 44:             enum: Acme\TestBundle\Types\EnumType


my src/Acme/TestBundle/Types/EnumType.php
http://pastebin.com/06buTkYE

When I execute one doctrine console command which inspect the database, I 
receive this error:

  [Doctrine\DBAL\DBALException]                                             
                       
  Unknown database type enum requested, 
Doctrine\DBAL\Platforms\MySqlPlatform may not support it.  


Where's my error? I cannot find it... I managed to "solve" this issue adding 
a string in MySqlPlatform.php file:
605:            'enum' => 'string',

Which works... until I update vendors...

Any help?

Thankyou in advance.
Lorenzo

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to