pub type MigrationFn = fn(&DatabaseConnection) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + '_>>;Expand description
Type alias for migration handler functions.
The function receives a reference to the database connection and returns a
boxed future that resolves to Result<(), modo::Error>. This is the shape
expected by the #[modo_db::migration] macro.