pub type MigrationTask = Box<dyn Fn(Database) -> BoxFuture<'static, Result<(), Error>> + Send + Sync>;Expand description
Type alias for migration tasks (e.g., Create Table, Add Foreign Key).
These tasks are closures that take a Database connection and return a future.
Aliased Typeยง
pub struct MigrationTask(/* private fields */);