mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-11-10 09:12:56 +08:00
01e69d5234
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
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