Technical requirement
- CakePHP 3.5
Official reference
CakePHP Cookbook 3.x - Migrations
Command
Migration
bin/cake migrations migrate
Migration rollback
bin/cake migrations rollback
Migration create
bin/cake migrations create MyCustomMigration
Seed
bin/cake migrations seed
Seed --seed
Specify only one seeder.
bin/cake migrations seed --seed [seeding class name]