Trait schemer_postgres::PostgresMigration [] [src]

pub trait PostgresMigration: Migration {
    fn up(&self, _transaction: &Transaction) -> Result<(), PostgresError> { ... }
fn down(&self, _transaction: &Transaction) -> Result<(), PostgresError> { ... } }

PostgreSQL-specific trait for schema migrations.

Provided Methods

Apply a migration to the database using a transaction.

Revert a migration to the database using a transaction.

Implementors