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

Hasura Migrate Error - cannot continue due to inconsistent metadata #5513

@spencerpauly

Description

@spencerpauly

I'm trying to do a migration from data on Hasura cloud to a DigitalOcean droplet. The

I'm following the migration guide here exactly:
https://hasura.io/docs/1.0/graphql/manual/migrations/basics.html#step-3-initialize-the-migrations-as-per-your-current-state

When it comes time to execute hasura migrate I run:

npx hasura migrate apply --envfile prod.env

with my prod.env file looking like:

HASURA_GRAPHQL_ENDPOINT='http://64.227.3.16'
HASURA_GRAPHQL_ENABLE_CONSOLE=true

and it gives me the following error...

FATA[0002] apply failed: [unexpected] cannot continue due to inconsistent metadata ($.args[2].args)
File: '1596433479181_newmigration/up.yaml'
...
Followed by my whole up.yaml file.

I've seen this issue posted repeatedly in the discord channel in the past couple weeks, but see no github issue open for it so I thought I would post it here. I'll answer any questions you have. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/cliRelated to CLIp/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