Schema Management and Migration in CakePHP 3
2 answers
Lorenzo from CakePHP core created below plugin. It is currently in development and should be considered experimental.
CakePHP 3.0 Database Migration Plugin
https://github.com/cakephp/migrations
Migrations plugin is now part of CakePHP Core
+3
source to share
There are currently 2 routes to create a migration:
Cake (using cookies)
bin/cake bake migration [migration_name]
Phinx
bin/cake migrations
Using the above code Phinx
, it will provide you with several options i.e. create, migrate, rollback
- Create requires the migration name to useCamelCase
0
source to share