Edit
This commit is contained in:
parent
7d3258429b
commit
28e53601c0
@ -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")))
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user