Skip to content

Commit

Permalink
2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Brzozowski committed Apr 25, 2019
1 parent dd9c384 commit 3d8bcf8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ Add the package to your composer.json:

{
"require": {
"bizley/migration": "^3.2"
"bizley/migration": "^3.3"
}
}

and run `composer update` or alternatively run `composer require bizley/migration:^3.2`
and run `composer update` or alternatively run `composer require bizley/migration:^3.3`

## Installation for PHP < 7.1

Add the package to your composer.json:

{
"require": {
"bizley/migration": "^2.5"
"bizley/migration": "^2.6"
}
}

and run `composer update` or alternatively run `composer require bizley/migration:^2.5`
and run `composer update` or alternatively run `composer require bizley/migration:^2.6`

## Configuration

Expand Down Expand Up @@ -151,6 +151,9 @@ default `yii\db\Migration` methods can be recognised (with the exception of `exe
`dropCommentFromTable()` methods). Changes made to table's data (like `insert()`, `upsert()`, `delete()`, `truncate()`,
etc.) are not tracked.

Updating migrations process requires for methods `createTable()`, `addColumn()`, and `alterColumn()` to provide changes
in columns definition in form of an instance of `yii\db\ColumnSchemaBuilder` (like `$this->string()` instead of `'varchar(255)'`).

## Tests

Tests for MySQL, PostgreSQL, and SQLite. Database configuration is stored in `tests/config.php` (you can override it by
Expand Down

0 comments on commit 3d8bcf8

Please sign in to comment.