这是indexloc提供的服务,不要输入任何密码
Skip to content

cli-migrations-v2: use ENV instead of --database-url #7319

@tirumaraiselvan

Description

@tirumaraiselvan

See:

graphql-engine --database-url "$HASURA_GRAPHQL_MIGRATIONS_DATABASE_URL" \

Here, we are starting graphql-engine using --database-url, the issue with this is that if someone is upgrading from v1.3.3, then the connection string goes into the 2.0 metadata as raw string. See #7270

We should fix this with perhaps starting graphql-engine as:

HASURA_GRAPHQL_DATABASE_URL="$HASURA_GRAPHQL_MIGRATIONS_DATABASE_URL" graphql-engine serve

i.e. load the env instead of --database-url

Metadata

Metadata

Assignees

Labels

c/cliRelated to CLIk/bugSomething isn't workingp/highcandidate for being included in the upcoming sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions