alembic-engine 0.3.0

Planning, apply, and state engine for Alembic.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use alembic_core::Uid;
use thiserror::Error;

#[derive(Debug, Error)]
pub enum AdapterApplyError {
    #[error("missing referenced uid {uid}")]
    MissingRef { uid: Uid },
    #[error("backend object not found: {entity}")]
    NotFound { entity: String },
    #[error("schema mismatch: {message}")]
    SchemaMismatch { message: String },
    #[error("transport error: {message}")]
    Transport { message: String },
}