For making migrations

bin\cake migrations create TableName

For Migrating Migrations

bin\cake migrations migrate

For Rollback/Undo a migrations

bin\cake migrations migrate rollback

For making a migrations in a plugin folder

bin\cake migrations make YourMigrationName -p YourPluginName

For migrating a migrations in a plugin folder

bin\cake migrations migrate -p YourPluginName

For making model by cake bake

bin\cake bake model table_name

For making model, views and controllers with cake bake

bin\cake bake all table_name

For making model in plugins by cake bake

bin\cake bake model –plugin PluginName table_name

For making controller in plugins by cake bake

bin\cake bake controller –plugin PluginName controllername

For making all in plugins by cake bake

bin\cake bake all –plugin PluginName table_name

Leave a Reply

Your email address will not be published. Required fields are marked *