angel3_migration_runner 8.5.0
angel3_migration_runner: ^8.5.0 copied to clipboard
The implementation of database migration for Angel3 framework. Designed to work with Angel3 ORM.
Angel3 Migration Runner #
This package contains the implementation of the database migration for the following databases. It is designed to work with Angel3 ORM.
- PostgreSQL 10.x or greater
- MariaDB 10.2.x or greater
- MySQL 8.x or greater
Usage #
- Use
PostgresMigrationRunnerto perform database migration for PostgreSQL. - Use
MySqlMigrationRunnerto perform database migration for MySQL and MariaDB. This runner is usingmysql_clientdriver. - Use
MariaDbMigrationRunnerto perform database migration for MariaDB. This runner is usingmysql1driver.
Supported Operations #
- up - Generate all the tables based on the ORM models.
- reset - Clear out all records in the
migrationstable and drop all the ORM related tables. - refresh - Run
resetfollow byup
Limitation #
- Update schema changes is not supported