enum field error while baking model all
I run the command cake bake model all and got the below error. Schema generation error: invalid column type enum('Used','New') does not exist in D开发者_如何学PythonBO in /var/www/showcase_admin/cake/libs/model/cake_schema.php on line 601
I believe Cake doesn't support enum
, as it is a vendor specific datatype
There are several user submitted solutions around this problem; one such is here. I haven't used it but I'm sure you will be able to find something relevant with a bit of digging.
精彩评论