[−][src]Trait diesel::migration::Migration
Represents a migration that interacts with diesel
Required methods
fn version(&self) -> &str
Get the migration version
fn run(&self, conn: &dyn SimpleConnection) -> Result<(), RunMigrationsError>
Apply this migration
fn revert(&self, conn: &dyn SimpleConnection) -> Result<(), RunMigrationsError>
Revert this migration