pub fn run_migrations(conn: &SqliteConnection) -> Result<(), InternalError> {
    embedded_migrations::run(conn).map_err(|err| InternalError::from_source(Box::new(err)))?;

    debug!("Successfully applied Sawtooth SQLite migrations");

    Ok(())
}
/// Run database migrations to create tables defined by Receipt Store
///
/// # Arguments
///
/// * `conn` - Connection to SQLite database
///
Run database migrations to create tables defined by Receipt Store
Run database migrations to create tables defined by Receipt Store
pub fn run_migrations(conn: &SqliteConnection) -> Result<(), InternalError> {
    embedded_migrations::run(conn).map_err(|err| InternalError::from_source(Box::new(err)))?;
    debug!("Successfully applied Sawtooth SQLite migrations");
    Ok(())
}
pub fn run_migrations ( conn : & SqliteConnection ) -> Result < ( ) , InternalError > { embedded_migrations :: run ( conn ) . map_err ( | err | InternalError :: from_source ( Box :: new ( err ) ) ) ? ; debug ! ( " " ) ; Ok ( ( ) ) }
Run database migrations to create tables defined by Receipt Store
Run database migrations to create tables defined by Receipt Store
conn
&SqliteConnection
conn
&SqliteConnection