Searched refs:upgraders (Results 1 – 1 of 1) sorted by relevance
77 pub fn upgrade_database<F>(tx: &Transaction, current_version: u32, upgraders: &[F]) -> Result<()> in upgrade_database()81 if upgraders.len() < current_version as usize { in upgrade_database()87 db_version = upgraders[db_version as usize](tx).with_context(|| { in upgrade_database()104 let upgraders: Vec<_> = (0..30_u32) in upgrade_database_test() localVariable153 upgrade_database(&tx, to, &upgraders).unwrap(); in upgrade_database_test()