Changes
- It is now possible to set the file extension for sqlite databases. It will no longer be forced to be
.sqlite3
- Added a warning when the migration class declares both the
change()
method and any ofup()
anddown
as well - Deprecated
AbstractMigration::dropTable()
- Deprecated
AbstractMigration::insert()
Bug Fixes
- Fixed the
dropTable()
method in theMigration
class, it was broken in the previous release. Additionally deprecated the method as it is an alias for$this->table($table)->dropTable()->save()
. Using the table method is preferred as it gives phinx the opportunity to buffer all actions and execute the at the end after validating them.