sethsandaru / eloquent-docs

Generate phpDoc for your Eloquent Models with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to read ENUMs

Prophet731 opened this issue · comments

Unknown database type enum requested, Doctrine\DBAL\Platforms\MariaDb1027Platform may not support it.

I have a table that uses an ENUM as the column type. This is more a Doctrine issue then this specific packages but maybe adding a some sort of try catch when the package encounters this and just notify the user it can't do that so needs to be manually added.

thanks @Prophet731 , I found the issue. This should be fixed in v1.1.1

Basically, enum will be considered as string (it is a list of literal under DB-layer)