Searched refs:create_or_get_version (Results 1 – 1 of 1) sorted by relevance
18 pub fn create_or_get_version(tx: &Transaction, current_version: u32) -> Result<u32> { in create_or_get_version() function84 let mut db_version = create_or_get_version(tx, current_version) in upgrade_database()147 create_or_get_version(&tx, from).unwrap(); in upgrade_database_test()194 let version = create_or_get_version(&tx, 3).unwrap(); in create_or_get_version_new_database()231 let version = create_or_get_version(&tx, 5).unwrap(); in create_or_get_version_new_database()253 let version = create_or_get_version(&tx, 7).unwrap(); in create_or_get_version_new_database()297 let version = create_or_get_version(&tx, 3).unwrap(); in create_or_get_version_legacy_database()335 let version = create_or_get_version(&tx, 5).unwrap(); in create_or_get_version_legacy_database()357 let version = create_or_get_version(&tx, 7).unwrap(); in create_or_get_version_legacy_database()