Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
带有 SimpleTest 的 CakePHP1.3 不能处理枚举类型列。如何解决这个问题。?
Notice: Schema generation error: invalid column type enum(
ENUM is not supported by CakePHP,因为它只适用于 MySQL。CakePHP 社区希望 SimpleTest 成为一个通用系统,它应该支持所有主要的数据库系统以实现平台独立性。
ENUM is not supported by CakePHP
尝试将其切换为varchar('10') or tinyint(1)数据类型并在模型中控制它们的值$validate
varchar('10') or tinyint(1)
$validate