♻️ (seaorm): Revisa y mejora la API pública
This commit is contained in:
parent
aa931ea052
commit
796ae5ce81
6 changed files with 92 additions and 31 deletions
|
|
@ -28,6 +28,8 @@ pub trait MigrationTrait: MigrationName + Send + Sync {
|
|||
|
||||
/// 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".to_owned()))
|
||||
Err(DbErr::Migration(
|
||||
"Rollback not implemented for this migration".to_owned(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue