Was looking into doing the alterSchema function for postgres dbo and found that postgres dbo doesnt have the index function either! This seems a lot more complex than the alterSchema function so I might just have to wait for the Cake guys to get around to supporting postgres properly.
On Jul 5, 12:26 pm, Ziad <[EMAIL PROTECTED]> wrote: > Yeah postgres dbo seems quite far behind MySQL which is a bit of > shame. > > Just out of interest, how do you manage your database versioning? > > On Jul 5, 10:23 am, "Marcin Domanski" <[EMAIL PROTECTED]> wrote: > > > Please do. > > I'm using postgres too but i dont use schema cause i use native > > postgres uuid types and other db specific features. > > Postgre dbo may need some working to get it to mysqls level.... > > > On Sat, Jul 5, 2008 at 8:43 AM, Ziad <[EMAIL PROTECTED]> wrote: > > > > Figured out what the problem is! the postgres driver does not override > > > the alterSchema method which is responsible for generating the SQL for > > > altering the schema. It is there in the mysql driver and works fine > > > there. I'll try and do it for the postgres driver and update this post > > > when/if I do. > > > > On Jul 5, 5:26 am, Ziad <[EMAIL PROTECTED]> wrote: > > >> Hi Marcin, > > > >> I know in normal situation I'd run 'cake schema generate' to update my > > >> schema with my new DB and then commit that for others to pick up. But > > >> I am trying to emulate the situation where my schema is different to > > >> my DB and to use 'cake schema run update' to update my DB. > > > >> Does that make sense? > > > -- > > Marcin Domanskihttp://kabturek.info --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
