Skip to main content

run

Function run 

Source
pub async fn run(migrations: Vec<Registered>) -> ExitCode
Expand description

Parses the first argument (run, status, rollback or fresh; default run), connects to the database from TURSO_DATABASE_URL, and prints the outcome. fresh drops every table first, then runs all migrations.