Actually, there is a better way to handle this using CakeDC Migrations Plugin, it gives you a “Rails” migration type that will help you take a snapshot of your circuit, this is an improvement on the cake schema dump method mentioned above, and is actually developed by the core CakePHP team.
CakeDC Migrations
source share