pub trait RusqliteMigration: Migration {
    type Error: From<RusqliteError>;

    fn up(&self, _transaction: &Transaction<'_>) -> Result<(), Self::Error> { ... }
    fn down(&self, _transaction: &Transaction<'_>) -> Result<(), Self::Error> { ... }
}
Expand description

SQlite-specific trait for schema migrations.

Required Associated Types

Provided Methods

Apply a migration to the database using a transaction.

Revert a migration to the database using a transaction.

Implementors