use async_trait::async_trait;
use super::{MigrationReport, PreparedMigration};
#[async_trait]
pub trait MigrationBackend: Send + Sync {
type Error: std::error::Error + Send + Sync + 'static;
async fn apply(&self, migrations: &[PreparedMigration])
-> Result<MigrationReport, Self::Error>;
}