Trait db_core::ops::Migrate

source ·
pub trait Migrate: SCDatabase {
    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§

database specific error-type run migrations

Implementors§