Skip to content

Commit

Permalink
[SeaORM] Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Oct 28, 2023
1 parent 466b9fe commit 26547ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Migrator::up(db, None).await?;
/// Apply 10 pending migrations
Migrator::up(db, Some(10)).await?;

/// Rollback last applied migrations
/// Rollback all applied migrations
Migrator::down(db, None).await?;

/// Rollback last 10 applied migrations
Expand Down Expand Up @@ -104,4 +104,4 @@ assert_eq!(migrations.len(), 5);
let migration = migrations[0];
assert_eq!(migration.name(), "m20220118_000002_create_fruit_table");
assert_eq!(migration.status(), MigrationStatus::Pending);
```
```

0 comments on commit 26547ef

Please sign in to comment.