diff --git a/sea-orm-migration/src/lib.rs b/sea-orm-migration/src/lib.rs index 4304e8c9..c9f2dc85 100644 --- a/sea-orm-migration/src/lib.rs +++ b/sea-orm-migration/src/lib.rs @@ -24,7 +24,7 @@ pub trait MigrationTrait: MigrationName + Send + Sync { async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr>; /// Define actions to perform when rolling back the migration - async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { - Err(DbErr::Migration("We Don't Do That Here")) + async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> { + Err(DbErr::Migration(format!("We Don't Do That Here"))) } }