pub trait MigrateDatabase {
    // Required methods
    fn create_database(url: &str) -> BoxFuture<'_, Result<(), Error>>;
    fn database_exists(url: &str) -> BoxFuture<'_, Result<bool, Error>>;
    fn drop_database(url: &str) -> BoxFuture<'_, Result<(), Error>>;
}

Required Methods§

Implementors§