Trait db_core::ops::Migrate

source ·
pub trait Migrate: MCDatabase {
    // Required method
    fn migrate<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

database migrations

Required Methods§

source

fn migrate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

database specific error-type run migrations

Implementors§