hasura / hasura/graphql-engine

Browse query failed after migrate down to revert deleting of a column

Open
#6,629 2 comments 0 reactions 0 assignees View on GitHub
support/needs-more-info
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

I have a table called `mentor_info` and I want to add a column `editor` to note down who edit every data. But I'm not familiar with column preset so I deleted this column before I realized that I was on the right way. So I exec this commend:

```
hasura migrate apply --down 1
```

Then in the `console` I got `Browse query failed!` error every time I open the page of `mentor_info` table.

I exec `hasura migrate apply --up 1` and recreate this column. But I think this is a bug.

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.