hasura / hasura/graphql-engine

--database-name is required for --dry-run flag when not allowed

Open
#8,499 0 comments 0 reactions 0 assignees View on GitHub
c/cli k/bug t/product-platform
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version:
CLI Version (for CLI related issue): v2.6.x

### Environment

### What is the expected behaviour?

`hasura migrate --dry-run` can run successfully with or without --database-name flag

### Keywords

database-name flag not working

### What is the current behaviour?

When you run dry run, it doesn't work it says --database-name flag is required

### How to reproduce the issue?

1. run hasura migrate --dry-run
2. See the error --database-name is required
3. add database name
4. see that --database-name is now allowed or invalid flag.

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.