Updating schema - what I need to know before doing that

behavior

#1

Hello,
I want to update some SQL structure on my cakephp 3 installation (which I just overtook from someone).

Whats the normal process for doing that? For example I saw the schema cache can be updated (if necessary)…
Normaly I would just update my SQL table structure and then see what cake does…

Thanks for directing me :wink:


#2

Whenever I have a change like that, I change the SQL table structure and clear the cache (so that cake can build a new query cache based on how the table REAL is).

You just have to keep in mind that you also need to change your code (table-classes, entity, controller, view) accordingly =)