Re: cake schema run update gone crazy

2010-03-26 Thread Martin Westin
I'll update the thread with some findings after rooting through the code a bit. Looking at the source I found out that -f does not force 'generate' to create a new schema.. It is used To force generation of all tables into the schema... but not only that. It can also be used to force update to

Re: cake schema run update gone crazy

2010-03-25 Thread Ian M. Jones
Hi Martin, Have you got models defined for all the tables in your schema file? If not, running cake schema run update will try to add all the columns for any tables missing model files, so I discovered myself today. Regards, Ian IMiJ Ltd

Re: cake schema run update gone crazy

2010-03-25 Thread Martin Westin
Ah. Thanks for the hint. I have models for all tables... BUT the schema generator does not find them all since some are in plugins and some are in sub-foldes of app/ models. I guess tables matching these models are the cause of the problem. So in reality, schema shell is only fully usable in

Re: cake schema run update gone crazy

2010-03-25 Thread shusta guthnar
I am not visible of this however. I am not haveing Snow Leopards which internets are you useing. It is only with Web 2.0 Shusta On Mar 25, 9:02 am, Martin Westin martin.westin...@gmail.com wrote: I thought I'd give schema migrations a try. But something small must be horribly wrong with how