Version: v1.0.0-alpha42
What I did
- Remove a column from the table
What I found
The insert mutation stop working use error message: "INSERT has more expressions than target ..."
Details
- The column deletion was done via hasura console web UI.
- The column I removed is nullable and it is not in the allow column in insert permission so the default value has been used before.
- I check the statement caused the error from the postgres log. The statement generate by hasura still have the
DEFAULT in the values (...) for the removed column.
My Current Workaround
- Make some change on allow columns in insert permission, save it
- Reverse the change and save again
Now the insert mutation can go through again.