Thursday, March 25, 2010

cake schema run update gone crazy

I thought I'd give schema migrations a try. But something small must
be horribly wrong with how I am trying to use the schema shell.

I run "cake schema run update" on the database that just generated the
schema and the shell wants to add all the columns to the tables again.
That can't be right? What's wrong with my schema that the shell thinks
all tables are without columns?

I am on Cake 1.2.6 and Apache2, php5.3, MySQL 5... on a Mac with Snow
Leopard.

I tried creating an empty db. I ran a create and it created all
tables... then I ran update and it again wanted to add all (existing)
columns to the tables.

Any ideas?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: