platform/packages/orm/angel_migration_runner
2022-07-11 14:15:02 +08:00
..
example Fixed MariaDB migration 2022-04-30 10:11:22 +08:00
lib Fixed linter warnings 2022-06-18 21:35:19 +08:00
.gitignore Update authors and licence 2021-05-15 21:37:00 +08:00
analysis_options.yaml Updated linter 2021-12-20 12:25:43 +08:00
AUTHORS.md Update authors and licence 2021-05-15 21:37:00 +08:00
CHANGELOG.md Fixed issue 70 2022-06-11 14:39:29 +08:00
LICENSE Updated linter 2021-12-20 12:25:43 +08:00
melos_angel3_migration_runner.iml Added melos 2022-03-19 09:37:28 +08:00
pubspec.yaml Added database connection retry 2022-07-11 14:15:02 +08:00
README.md Updated Change Log 2022-05-01 17:40:42 +08:00

Angel3 Migration Runner

Pub Version (including pre-releases) Null Safety Gitter License

Command-line based database migration runner for Angel3 ORM.

Supported database:

  • PostgreSQL version 10 or later
  • 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.