user765368
user765368

Reputation: 20346

automatically update model to reflect new schema changes cakephp2

I have a table in a CakePHP 2 application. I added a field to my table, but on the baked page for that model, I don't see any HTML element to save the data in the newly added field in my model.

Is there a shell command or something that I can run to make CakePHP aware of that new change to my database table?

Thanks in advance

Upvotes: 0

Views: 140

Answers (1)

origenes
origenes

Reputation: 27

Delete app/tmp/cache/models files.

Upvotes: 0

Related Questions