Skip to main content

Module migration

Module migration 

Source
Expand description

Migration runner for codlet SQLite tables (RFC-011 §10.4).

The SQL is embedded at compile time via include_str!. Host applications own the migration application order — this function is idempotent and safe to call on startup, but the host decides when and how to run it relative to its own migrations (RFC-011 §10.4).

Functions§

run_migrations
Run codlet’s embedded SQLite migrations against pool.