Releases: cakephp/phinx
Releases · cakephp/phinx
v0.9.1
v0.9.0
0.9.0 (Sunday, 3rd September 2017)
- Documentation updates
- Pull requests
- #1122 SQL exceptions will now produce PHP exceptions
- #1053 Docker Development Kickstarter
- #945 Rollback --target using migration name
- #1070 Supporting namespaces in configuration, Migrations and Seeds
- #1155 Fill up column values from schema
- #1148 When execute command
seed:run
, insert all data to a table in a bulk
- Bug fixes
- #1111 Fixed error when calling truncateTable() method
- #1117 Quote column names in the addIndex() method for PostgresSQL
- #1126 Fix invalid changeColumn regex causing deletions
- #1093 Fix issue with dropColumn command in SQLite
- #1091 Fix pgsql quoting in comment clause
- #1094 Fix varchar to datetime error
v0.8.1
0.8.1 (Monday, 5th June 2017)
v0.8.0
0.8.0 (Tuesday, 28th February 2017)
- Documentation updates
- New features
- #1045 Rollbacks by start time - Thanks to Daniel Gomes.
Upgrading Phinx to 0.8
-
Phinx 0.8 allows for
phinx rollback
andphinx 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 yourphinx.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 asversion
).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.
v0.7.2
v0.7.1
v0.7.0
- Documentation updates
- New features
- #885 Add
collation
andencoding
options for MySQL text and char columns
- #885 Add
- Pull requests
- #813 Fix SQLite data insertion
- #867 Improve Postgres geography types creation
- #966 Remove unused variable
- #973 Improve documentation grammar
- #979 Add
.gitattributes
to exclude tests on Composer export - #983 Document changing a foreign key constraint name
- #1001 Cleanup phpunit mock warnings
- #1007 Integrate PHPStan and fix issues discovered
- #1020 Document adding named foreign keys
- #1028 Add docs about MySQL table specific options
- #1033 Add PHP 7.1 to Travis CI
v0.6.6
- Documentation updates
- New Features
- #943 Adding hint on migration name in CamelCase
- Bug fixes
- Development branch changed to
master
v0.6.5
v0.6.4
0.6.4 (Wednesday, 27th July 2016)
- Documentation updates
- Pull requests
- Bug fixes