hasura / hasura/graphql-engine
Run multiple specified migration versions at once
Open
k/enhancement
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Is your proposal related to a problem?
The migrate apply command takes some time to spin up - I want to be able to run several migrations that may not be consecutive in one go to make sure it goes efficiently.
### Describe the solution you'd like
Allow for multiple `--version` flags passed to the `hasura migrate apply` command like so:
```
hasura migrate apply --type down --version 1687251572093 --version 1676175487022 --database-name main
```
### Describe alternatives you've considered
just running hasura migrate apply several times, but that's not ideal.
Contributor guide
Assessment
This issue has not been assessed yet.