warpgate/warpgate-db-migrations
dependabot[bot] 21984967a8 Bump uuid from 1.1.2 to 1.2.2
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.1.2 to 1.2.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.1.2...1.2.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-20 14:15:08 +01:00
..
src fixed #456 - postgres field type mismatch 2022-11-08 11:48:24 +01:00
Cargo.toml Bump uuid from 1.1.2 to 1.2.2 2022-11-20 14:15:08 +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