Skip to content

Releases: bizley/yii2-migration

2.9.2

10 Oct 20:22
c95945b

Choose a tag to compare

Fixed bug with updates being generated with generalSchema=0 for migration created with generalSchema=1 even though table has not changed.

2.9.1

10 Oct 09:39
5d42da1

Choose a tag to compare

Fixed bug with normalizing migrations namespaces.

3.6.0

08 Oct 18:36
49ab8cd

Choose a tag to compare

  • Column size different than DBMS' default is now respected and rendered in case of generalSchema set to 1.
  • after() and first() calls are now rendered.

2.9.0

08 Oct 18:35
1382e08

Choose a tag to compare

  • Column size different than DBMS' default is now respected and rendered in case of generalSchema set to 1.
  • after() and first() calls are now rendered.

3.5.0

01 Aug 18:13

Choose a tag to compare

migrationPath and migrationNamespace properties now can also be arrays.

2.8.0

01 Aug 18:03

Choose a tag to compare

  • migrationPath and migrationNamespace properties now can also be arrays.
  • PHP versions 5.4 and 5.5 are no longer tested with Travis.

3.4.0

07 Jul 16:43

Choose a tag to compare

Creating migrations for more than one table now forces the order in which they are created based on the foreign key dependencies. When tables are cross-referenced additional special foreign key migration is added at the end of the whole process.

New config option:

  • templateFileForeignKey - template file for generating new foreign keys migrations (default @bizley/migration/views/create_fk_migration.php)

2.7.0

07 Jul 16:43

Choose a tag to compare

Creating migrations for more than one table now forces the order in which they are created based on the foreign key dependencies. When tables are cross-referenced additional special foreign key migration is added at the end of the whole process.

New config option:

  • templateFileForeignKey - template file for generating new foreign keys migrations (default @bizley/migration/views/create_fk_migration.php)

3.3.0

25 Apr 21:02

Choose a tag to compare

  • Deprecated method removeMigrationTable() has been removed.
  • Extracting column from migration with column data provided in form different than ColumnSchemaBuilder instance throws exception from now on.
  • Default column value accepts empty strings now.
  • Default column value accepts arrays now.
  • Unique indexes are not triggering unnecessary updates from now on.

2.6.0

25 Apr 20:49

Choose a tag to compare

  • Deprecated method removeMigrationTable() has been removed.
  • Extracting column from migration with column data provided in form different than ColumnSchemaBuilder instance throws exception from now on.
  • Default column value accepts empty strings now.
  • Default column value accepts arrays now.
  • Unique indexes are not triggering unnecessary updates from now on.