CakePHP/CakePHP 2.4 app -


i developing cakephp 2.4 app , trying manage changes database table schemas schema manager. figured out how generate schema , restore it, there way backup entire database's schema it? seems should method solve this... thoughts?

of course, use schema dump command cake console.

it write entire schema .sql file , store in app/config/schema.

example of usage:

console/cake schema dump --write filename.sql

(change 'filename.sql' whatever dump file should called.)

this can find in cake docs: http://book.cakephp.org/2.0/en/console-and-shells/schema-management-and-migrations.html


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -