Skip to content

Releases: bizley/yii2-migration

3.6.0

08 Oct 18:36
49ab8cd
Compare
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
Compare
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
Compare
Choose a tag to compare

migrationPath and migrationNamespace properties now can also be arrays.

2.8.0

01 Aug 18:03
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

3.2.0

06 Apr 18:43
Compare
Choose a tag to compare
  • Option excludeTables has been added to exclude selected tables from scanning while running create-all and update-all actions. Migration history table is added to excluded tables by default.
  • upsert() method has been added in dummy Migration file to properly silence it while scanning migrations.
  • Some code style has been updated.

2.5.0

06 Apr 18:42
Compare
Choose a tag to compare
  • Option excludeTables has been added to exclude selected tables from scanning while running create-all and update-all actions. Migration history table is added to excluded tables by default.
  • upsert() method has been added in dummy Migration file to properly silence it while scanning migrations.
  • Some code style has been updated.