Skip to main content

Module migrations

Module migrations 

Source
Expand description

Database migrations embedded at compile time.

Migrations are sourced from cli/migrations/ and embedded into the binary using include_str!. This ensures the package is self-contained for crates.io publishing.

To sync migrations from repo root: npm run sync:migrations

Functionsยง

run_migrations
Run all pending migrations on the database.