Cake caches your model schema.
A:
Clear your cache by deleting all files in your app's tmp/cache/models/
and tmp/cache/persistent/
B:
Disable caching in your app's config/core.php (make sure you enable it
again for production setup!)
/**
* Turn off all caching application-wide.
*
*/
Configure::write('Cache.disable', true);
On 3 Jul., 14:06, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi all.
>
> I'm trying to make an app with cake 1.2. I'm using bake to generate
> all the models, controllers and views. But when I make changes in the
> DB bake doesn't those changes. For example if I alter a table to add a
> new field bake doens't see that change. Is there a way to resolve this
> problem?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---