warpgate/warpgate-db-migrations
dependabot[bot] 01e69d5234 Bump sea-orm-migration from 0.10.5 to 0.10.6
Bumps [sea-orm-migration](https://github.com/SeaQL/sea-orm) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.5...0.10.6)

---
updated-dependencies:
- dependency-name: sea-orm-migration
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 13:01:28 +01:00
..
src fixed #456 - postgres field type mismatch 2022-11-08 11:48:24 +01:00
Cargo.toml Bump sea-orm-migration from 0.10.5 to 0.10.6 2023-01-11 13:01:28 +01:00
README.md import 2022-04-10 22:58:58 +02:00

Running Migrator CLI

  • Apply all pending migrations
    cargo run
    
    cargo run -- up
    
  • Apply first 10 pending migrations
    cargo run -- up -n 10
    
  • Rollback last applied migrations
    cargo run -- down
    
  • Rollback last 10 applied migrations
    cargo run -- down -n 10
    
  • Drop all tables from the database, then reapply all migrations
    cargo run -- fresh
    
  • Rollback all applied migrations, then reapply all migrations
    cargo run -- refresh
    
  • Rollback all applied migrations
    cargo run -- reset
    
  • Check the status of all migrations
    cargo run -- status