1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
mod database; use sqlite::Transaction; // Tools pub fn migrate(tx: &Transaction) -> Result<(), String> { // Migrate self components if let Err(e) = database::init(tx) { return Err(e.to_string()); } // Delegate migration to childs // nothing yet.. // Success Ok(()) }