I'm currently working on the schema generation for Postgres, which was heretofore non-existent. Once that's fully implemented, this will be a non-issue, and your tests should run fine.
On Jan 7, 9:21 pm, twinkletoes <[EMAIL PROTECTED]> wrote: > I'm setting up Cake version 1.2.0.6311 beta with Postgresql version > 8.1.10. > > I like to test my code, so I've installed Simpletest. When running the > core tests with the mysql driver, everything's fine, but when I change > the driver to oostgres, it seems that the core tests that rely on > creating database tables stop working. The reason for this seems to be > that the tests attempt to create the test tables with MySQL syntax for > defining the auto incrementing of the id fields: > > [...]"id" integer NOT NULL AUTO_INCREMENT[...] > > ...rather than using the datatype SERIAL, which is what PostgreSQL > needs to get the equivalent to MySQL's auto-incrementing stuff going. > > So, I was wondering, are these tests even supposed to work with a > PostgreSQL database? Or would I be wasting my time and annoying the > core devs by posting a ticket on this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
