Enum sqlx_core::migrate::MigrationType [−][src]
pub enum MigrationType {
Simple,
ReversibleUp,
ReversibleDown,
}
Expand description
Migration Type represents the type of migration
Variants
Simple migration are single file migrations with no up / down queries
ReversibleUp migrations represents the add or update part of a reversible migrations It is expected the every migration of this type will have a corresponding down file
ReversibleDown migrations represents the delete or downgrade part of a reversible migrations It is expected the every migration of this type will have a corresponding up file
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MigrationType
impl Send for MigrationType
impl Sync for MigrationType
impl Unpin for MigrationType
impl UnwindSafe for MigrationType
Blanket Implementations
Mutably borrows from an owned value. Read more