migratex 0.2.2

Agnostic migration toolkit library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod m1_initial;
mod m2_something;
// mod m3_other;

use migratex::BoxMigration;

use crate::MigContext;

pub fn migrations() -> Vec<BoxMigration<MigContext>> {
    // IMPORTANT: sort by version (ascending)
    vec![
        Box::new(m1_initial::M1Initial),
        Box::new(m2_something::M2Something),
        // Box::new(m2_other::M2Other),
        // ...
    ]
}