Expand description
Command-line front end for the migration engine.
Generated applications call run from src/bin/migrate.rs; the slave
CLI invokes that binary for migrate, migrate:status, migrate:rollback
and migrate:fresh.
Functionsยง
- format_
rollback - format_
run - format_
status - run
- Parses the first argument (
run,status,rollbackorfresh; defaultrun), connects to the database fromTURSO_DATABASE_URL, and prints the outcome.freshdrops every table first, then runs all migrations.