angel3_migration_runner 6.0.1 angel3_migration_runner: ^6.0.1 copied to clipboard
Command-line based database migration runner for Angel3's ORM.
Angel3 Migration Runner #
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.