New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On db migration, migrations files are auto deleted v2.33.1 #9861
Comments
This seems to be related to the issue people are experiencing here: https://discord.com/channels/407792526867693568/1146076819301355591 |
I had a very similar issue with Hasura CLI version Could you please check your metadata status? What happened in my case is that my metadata status was in an inconsistent state due to trackable functions not being tracked (highlighted in the linked issue) and whenever I did something through the console (created a table, updated a field, made some metadata changes: update an action, event handler etc...) nothing was visible On the console I started querying the console for my migration status and it kept returning with the following strange migrations: |
For anyone experiencing the issue and thinking how to fix it, you can downgrade the hasura-cli:
|
Folks, patches for |
Version Information
Server Version: 2.33.1
CLI Version (for CLI related issue):
Environment
Macos 13.5.1 (22G90)
What is the current behaviour?
When I do a migration (modifying my database or adding permission), the migrations files are created and then immediately removed as you can see on the video.
I switched back to hasura 2.27.0 (cli and docker) and I don't have the issue anymore. I add issue on 2.32.1 too
Screenshots or Screencast
Screen.Recording.2023-09-01.at.23.21.08.mov
Please provide any traces or logs that could help here.
Any possible solutions/workarounds you're aware of?
Keywords
The text was updated successfully, but these errors were encountered: