needle_orm_migration_runner 0.1.1 copy "needle_orm_migration_runner: ^0.1.1" to clipboard
needle_orm_migration_runner: ^0.1.1 copied to clipboard

ORM migration for Needle ORM, and ORM framework inspired by Ebean.io (an excellent ORM from Java/Kotlin world).

Migration Runner #

Database migration runner for Needle ORM (derived from Angel3 ORM).

Supported database:

  • 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 usingmysql1 driver.

Supported Operations #

  • reset - Clear out all records in the migrations table and drop all the managed ORM tables.
  • up - Generate all the managed ORM tables based on the ORM models.
  • refresh - Run reset follow by up
0
likes
100
pub points
6%
popularity

Publisher

verified publisherhsdcloud.cn

ORM migration for Needle ORM, and ORM framework inspired by Ebean.io (an excellent ORM from Java/Kotlin world).

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, charcode, logging, mysql1, mysql_client, needle_orm, needle_orm_migration, postgres

More

Packages that depend on needle_orm_migration_runner