开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜