♻️ (seaorm): Revisa y mejora la API pública

This commit is contained in:
Manuel Cillero 2026-05-11 15:10:49 +02:00
parent aa931ea052
commit 796ae5ce81
6 changed files with 92 additions and 31 deletions

View file

@ -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(),
))
}
}