warpgate/warpgate-db-migrations
dependabot[bot] e4c7069a94 Bump sea-orm from 0.10.5 to 0.10.6
Bumps [sea-orm](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
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:33:37 +01:00
..
src fixed #456 - postgres field type mismatch 2022-11-08 11:48:24 +01:00
Cargo.toml Bump sea-orm from 0.10.5 to 0.10.6 2023-01-09 21:33:37 +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