Actually, should throw an error by default
This commit is contained in:
parent
5a19f2f3e0
commit
7d3258429b
@ -25,6 +25,6 @@ pub trait MigrationTrait: MigrationName + Send + Sync {
|
||||
|
||||
/// Define actions to perform when rolling back the migration
|
||||
async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
|
||||
Ok(())
|
||||
Err(DbErr::Migration("We Don't Do That Here"))
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user