turso-migrate
A simple migration library for Turso, inspired by rusqlite_migration.
Stores the number of applied migrations in the user_version of the SQLite/Turso database.
Supports migrations from a string, file, or Rust function. Migrations are applied in definition order, each within one transaction.
Example
use ;
// Migrations are applied in definition order.
// You have to ensure not to modify previously applied migrations.
const MIGRATIONS: Migrations = new;
async
async
Features
- tracing: Optional. Enables logging of migration progress and errors using the
tracingcrate.