pub async fn run_cli(db: &Db, args: &[String]) -> Result<()>Expand description
The command line of an app’s migrate binary:
migrateormigrate apply: apply pending migrations;migrate status: list migrations and whether each is applied;migrate fresh [--force]: drop everything, then apply all migrations (asks to confirm unless--force).
Run from the project root, where DIR is.