From cd27221922837b5f751a5bb2e83c58c599ecf3c8 Mon Sep 17 00:00:00 2001 From: Yves P Date: Sun, 13 Dec 2015 10:30:27 +0100 Subject: [PATCH] Update phinx dependency to a more suitable version Also update the README with some important notes. --- README.md | 6 ++++++ composer.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85a80f7d..7a5f38d6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,12 @@ The plugin consists of a wrapper for the [phinx](http://phinx.org) migrations li Full documentation of the plugin can be found on the [CakePHP Cookbook](http://book.cakephp.org/3.0/en/migrations.html). +## Special notes + +This is the last release of the plugin compatible with the CakePHP 3.0.X release cycle. +Be aware that, due to a defect in our main dependency, if you use the SQLite database provider and update indexes in an existing table, the table may be dropped during migrations. The bug has been fixed for later versions of the plugin. +Also note that if you run the test suites of this version of the plugin, it will fail. + ## Installation You can install this plugin into your CakePHP application using diff --git a/composer.json b/composer.json index 382cd765..cd0fd4bd 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,8 @@ }, "require": { "php": ">=5.4", - "robmorgan/phinx": "dev-master", - "cakephp/cakephp": "~3.0" + "robmorgan/phinx": ">=0.4.2 <0.5.0", + "cakephp/cakephp": "3.0.*" }, "require-dev": { "phpunit/phpunit": "*",