Skip to main content

MIGRATIONS

Constant MIGRATIONS 

Source
pub const MIGRATIONS: &[Migration];
Expand description

All known migrations. Append-only.

Each migration must use IF NOT EXISTS / CREATE OR REPLACE where re-running on a partially-migrated DB is a possibility (e.g. when a previous run committed the SQL but crashed before stamping user_version).