This error was the reason for changing all enum to varchar in my
project.
The reason of error next: in DBO driver field searching based on
string compare.
And "enum('yes','no')" does not declare there. Really even enum does
not declared as valid field.

The same prblem with joelMoss migration utility. Enums does not
supported with MDB2 module.
in migration files i solve this so:

UP:
  create_table:
    emails:
      email: [string, 100]
      enabled: [integer]
  query: "ALTER TABLE `emails` MODIFY COLUMN `enabled` ENUM('N','Y')
NOT NULL DEFAULT 'Y'"

DOWN:
  drop_tables: [emails]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to