Schemas express business states
Records, sums, options, lists, tuples, and finite recursion have stable identity, defaults, constraints, and migration semantics.
A complete path from a five-minute database to typed Rust integration, resumable migrations, stable pagination, and production operations.
Install unionid, generate a standalone project, then apply migrations, seed, query, reopen, check, back up, and restore:
cargo install unionid --locked
unionid init tasks
cd tasks
unionid project check --dir .
unionid migration apply --db data/tasks.redb --dir migrations
unionid run --db data/tasks.redb --file seed.unid
unionid run --db data/tasks.redb --file queries/list_running.unidThe documentation follows real user decisions: run it first, model and query data, choose an integration boundary, then operate and upgrade it safely.