# Trait Migrate

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

Expand description

database migrations

## Required Methods§

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

database specific error-type run migrations

## Implementors§

Source§

### impl Migrate for Database