Skip to main content

MigrationFn

Type Alias MigrationFn 

Source
pub type MigrationFn = fn(_: &Connection, current_version: u32) -> Result<u32>;
Expand description

Migration callback: given a connection and the current schema version, apply incremental migrations and return the new version.