Skip to content

Releases: bizley/yii2-migration

2.4.0

24 Nov 09:09
Compare
Choose a tag to compare
  • Tests structure has been updated for easier DBMS switching
  • Added tests for PostgreSQL and SQLite
  • Added warning for unsupported SQLite migration commands
  • Fixed bug with schema type map missing when loading PostgreSQL schema
  • Added fallback for SQLite primary key detection
  • Schema type is now passed to TableColumn and TableChange
  • Changed the way column length is compared
  • Column length is now present only for DBMS supporting it
  • Updated Travis config for MySQL explicit_defaults_for_timestamp setting

3.1.0

23 Nov 20:06
Compare
Choose a tag to compare
  • Tests structure has been updated for easier DBMS switching
  • Added tests for PostgreSQL and SQLite
  • Added warning for unsupported SQLite migration commands
  • Fixed bug with schema type map missing when loading PostgreSQL schema
  • Added fallback for SQLite primary key detection
  • Schema type is now passed to TableColumn and TableChange
  • Changed the way column length is compared
  • Column length is now present only for DBMS supporting it
  • Updated Travis config for MySQL explicit_defaults_for_timestamp setting

3.0.5

04 Nov 11:41
Compare
Choose a tag to compare
  • Fixed bug with arguments passed to TableColumn::escapeQuotes() not being strings.
  • Dropped conditions for Yii < 2.0.15 methods and constants.

3.0.4

29 Oct 11:46
Compare
Choose a tag to compare

Added tableOptionsInit and tableOptions properties to provide custom table options for DBMS.

2.3.4

29 Oct 11:46
Compare
Choose a tag to compare

Added tableOptionsInit and tableOptions properties to provide custom table options for DBMS.

3.0.3

11 Oct 18:53
1d34503
Compare
Choose a tag to compare
  • db parameter can now be properly set from the command line for the list command
  • source files are moved to src folder
  • tests namespace changed to bizley\tests

2.3.3

11 Oct 18:51
62fadeb
Compare
Choose a tag to compare
  • db parameter can now be properly set from the command line for the list command
  • source files are moved to src folder
  • tests namespace changed to bizley\tests

3.0.2

10 Sep 21:36
Compare
Choose a tag to compare
  • Controller actions return error codes and not just an OK code no matter what.
  • Non-existing database tables properly trigger errors.
  • create-all and update-all actions use console confirm method instead of prompt.
  • Travis service in use for tests.

2.3.2

10 Sep 21:36
Compare
Choose a tag to compare
  • Controller actions return error codes and not just an OK code no matter what.
  • Non-existing database tables properly trigger errors.
  • create-all and update-all actions use console confirm method instead of prompt.
  • Travis service in use for tests.

3.0.1

01 Jul 14:42
Compare
Choose a tag to compare
  • Fixed bug with size / precision not being tracked properly.
  • Fixed bug with primary key given through append not being recognised properly.