laravel-doctrine / fluent

Fluent mapping driver for Doctrine2
http://www.laraveldoctrine.org/docs/current/fluent
MIT License
43 stars 22 forks source link

Cannot use enum column type #55

Closed catalinbuletin closed 6 years ago

catalinbuletin commented 6 years ago

Hello,

I can't seem to be able to use the enum type.

in my config, i have uncommented this line:

        'mapping_types' => [
            'enum' => 'string'
        ]

And in the mapping I use it like this: $builder->field('enum', 'someField');

Do I need to do something else to make it work?

Thanks a lot!

patrickbrouwers commented 6 years ago

Can you specify what you mean with "can't seem to be able to use". Do you get errors?

catalinbuletin commented 6 years ago

Hey! I can't remember what that issue was. It's 3 months old. It's working now, so i'll close this issue

patrickbrouwers commented 6 years ago

Great 👍