hasura / hasura/graphql-engine

Run multiple specified migration versions at once

Open
#9,739 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.