Updated Change Log

This commit is contained in:
thomashii 2022-05-01 17:40:42 +08:00
parent da1faa3ce3
commit 88643bd6f2
3 changed files with 15 additions and 4 deletions

View file

@ -2,7 +2,8 @@
## 6.0.1
* Fixed MariaDb migration
* Added `MariaDbMigrationRunner` to support MariaDB migration with `mysql1` driver
* Updated `MySqlMigrationRunner` to support MySQL migration with `mysql_client` driver
## 6.0.0

View file

@ -10,5 +10,15 @@ Command-line based database migration runner for Angel3 ORM.
Supported database:
* PostgreSQL version 10 or later
* MariaDB 10.2.x
* MySQL 8.x
* MariaDB 10.2.x or later
* MySQL 8.x or later
## Usage
* For PostgreSQL, use `PostgresMigrationRunner` to perform the database migration.
* For MariaDB, use `MariaDbMigrationRunner` to perform the database migration.
* For MySQL, use `MySqlMigrationRunner` to perform the database migration.
**Important Notes** For MariaDB and MySQL, both migration runner are using different drivers. MariaDB is using `mysql1` driver while MySQL is using `mysql_client` driver. This is necessary as neither driver works correctly over both MariaDB and MySQL. Based on testing, `mysql1` driver works seamlessly with MariaDB 10.2.x while `mysql_client` works well with MySQL 8.x.

View file

@ -11,7 +11,7 @@ dependencies:
args: ^2.1.0
charcode: ^1.2.0
postgres: ^2.4.0
mysql_client: ^0.0.11
mysql_client: ^0.0.15
mysql1: ^0.19.0
logging: ^1.0.0
dev_dependencies: