Expand description
Embedded SQL migrations.
Migrations are bundled into the binary via include_str! so applications do
not need to ship migration files separately. Each migration runs in a
transaction; the schema version is tracked in _cel_memory_schema_version.
Constants§
- LATEST_
VERSION - Highest schema version this build can apply.
Functions§
- run
- Run all pending migrations against the connection. Idempotent: a
connection that already at
LATEST_VERSIONbecomes a no-op.