hey > Then I go to the DB and drop the nickname column and then try and run: you should jsut run cake schema generate the second time to save you changes to a new schema. cake schema run update is used when you have newer schema file and older db config.
> ---------- > cake schema run update > ---------- > > and I get this: > > ---------- > Welcome to CakePHP v1.2.0.7296 RC2 Console > --------------------------------------------------------------- > App : app > Path: /home/ziad/public_html/newmts/app > --------------------------------------------------------------- > Cake Schema Shell > --------------------------------------------------------------- > Comparing Database to Schema... > PHP Warning: array_diff_assoc(): Argument #2 is not an array in /home/ > ziad/public_html/newmts/cake/libs/model/schema.php on line 396 > > Warning: array_diff_assoc(): Argument #2 is not an array in /home/ziad/ > public_html/newmts/cake/libs/model/schema.php on line 396 > > The following statements will run. > > > Are you sure you want to alter the tables? (y/n) > [n] > y > > Updating Database... > users is up to date. > End update. > ---------- > > Nothing changes in the database! I except the users table to have the > nickname column added but it doesn't. > > Anybody have this problem? Any ideas how to fix this? I'd really like > to use this feature of Cake 1.2. > > Thanks in advance. > > p.s. I have Cake 1.2 RC2 and PostgreSQL 8.2 > > > -- Marcin Domanski http://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 -~----------~----~----~----~------~----~------~--~---
