angel3_migration_runner 8.3.0 copy "angel3_migration_runner: ^8.3.0" to clipboard
angel3_migration_runner: ^8.3.0 copied to clipboard

The implementation of database migration for Angel3 framework. Designed to work with Angel3 ORM.

Angel3 Migration Runner #

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

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 PostgresMigrationRunner to perform database migration for PostgreSQL.
  • Use MySqlMigrationRunner to perform database migration for MySQL and MariaDB. This runner is using mysql_client driver.
  • Use MariaDbMigrationRunner to perform database migration for MariaDB. This runner is using mysql1 driver.

Supported Operations #

  • up - Generate all the tables based on the ORM models.
  • reset - Clear out all records in the migrations table and drop all the ORM related tables.
  • refresh - Run reset follow by up

Limitation #

  • Update schema changes is not supported
4
likes
140
pub points
62%
popularity

Publisher

verified publisherdukefirehawk.com

The implementation of database migration for Angel3 framework. Designed to work with Angel3 ORM.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

angel3_migration, angel3_orm, args, charcode, logging, mysql1, mysql_client, postgres

More

Packages that depend on angel3_migration_runner