github cakephp/phinx v0.8.0

latest releases: 0.16.5, 0.16.4, 0.16.3...
7 years ago

0.8.0 (Tuesday, 28th February 2017)

  • Documentation updates
  • New features

Upgrading Phinx to 0.8

  • Phinx 0.8 allows for phinx rollback and phinx status to operate on migrations in reverse execution order, rather than reverse creation order. To achieve this new ordering, you will need to add a new entry in your phinx.yml file (or equivalent).

    The setting is called version_order and supports 2 values:

    • creation - this is the default value and matches the standard behaviour of executing rollbacks in the reverse order based upon the creation datetime (also known as version).
    • execution - this is the new value and will execute rollbacks in the reverse order in which they were applied.

    This feature will be of most importance when development of migrations takes place in different branches within a codebase and are merged in to master for deployment. It will no longer matter when the migrations were created if it becomes necessary to rollback the migrations.

Don't miss a new phinx release

NewReleases is sending notifications on new releases.