migrations.rs

 1use rusqlite_migration::{Migrations, M};
 2
 3// use crate::items::ITEMS_M_1;
 4use crate::kvp::KVP_M_1_UP;
 5
 6// This must be ordered by development time! Only ever add new migrations to the end!!
 7// Bad things will probably happen if you don't monotonically edit this vec!!!!
 8// And no re-ordering ever!!!!!!!!!! The results of these migrations are on the user's
 9// file system and so everything we do here is locked in _f_o_r_e_v_e_r_.
10lazy_static::lazy_static! {
11    pub static ref MIGRATIONS: Migrations<'static> = Migrations::new(vec![
12        M::up(KVP_M_1_UP),
13        // M::up(ITEMS_M_1),
14    ]);
15}