Hasura Console Fails to Produce Migration Files
Author: eltontianCreated Nov 1, 2022Updated Sep 22, 2026
Labelsk/bugt/native-dbs
Version Information
Server Version: CLI Version (for CLI related issue): version=v2.14.0-cloud.1
What is the current behaviour?
Sometimes when running sql commands with "This is a migration" checkbox console fails to produce the migration files.
What is the expected behaviour?
Create the the migration files properly.
How to reproduce the issue?
- I have seen this a lot immediately after updating the CLI
Any possible solutions/workarounds you're aware of?
When I restart the console it usually resolves itself. Revert any change, restart the console, and reapply the changes.
However, sometimes you can't revert the changes for example adding enum values so I have to resort to dropping the entire enum and readding it which is cumbersome.
Source: hasura/graphql-engine