Expand description
Lightweight, embedded migration runner for SQL-backed memory services.
This module provides shared types and free functions that track applied schema versions in a per-backend registry table and execute only unapplied forward-only migration steps.
The types (MigrationStep, AppliedMigration, MigrationError) are
always compiled. The SQL runner functions ([run_sql_migrations],
[sql_schema_version]) require the sqlite-memory or database-memory feature.
Structsยง
- Applied
Migration - Record of an applied migration stored in the registry table.
- Migration
Error - Error context for a failed migration step.
- Migration
Step - A single forward-only migration step.