-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Adding detail about marking init migrations as applied to the migrations basics docs (closes #4887) #4934
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
Conversation
|
Beep boop! 🤖 Hey @RapidOwl, thanks for your PR! One of my human friends will review this PR and get back to you as soon as possible. Stay awesome! 😎 |
|
Deploy preview for hasura-docs ready! Built with commit 2b9d9bc |
1e011a6 to
2b9d9bc
Compare
|
Some news about it?, I think this is so important because I have had headaches about the f*cking error: |
|
Awesome! Thank you. |
|
Beep boop! 🤖 Hey @RapidOwl! Sorry that your PR wasn’t merged. Do take a look at any of the other open issues to see if you’d like to take something up! We’re around on Discord if you have any questions 😄 |
|
Review app https://hge-ci-pull-4934.herokuapp.com is deleted |
|
Awesome. Thanks for letting me know! |
|
@marionschleifer thank you! |
Description
When updating my Hasura-driven application to use migrations, it wasn't immediately clear to me how I could re-apply new migrations to the Hasura instance that I'd used to generate my initial migrations (the migrations failed because tables already existed). I think it would be valuable for this information to be present in the Hasura migration basics doc.
Changelog
CHANGELOG.mdis updated with user-facing content relevant to this PR.Affected components
Related Issues
#4887
Solution and Design
I added some extra information to the docs.
Steps to test and verify
Have a look at the migrations basics section of the docs and confirm that it looks okay.
Limitations, known bugs & workarounds
N/A
Server checklist
N/A
Catalog upgrade
Does this PR change Hasura Catalog version?
Metadata
N/A
Does this PR add a new Metadata feature?
run_sqlauto manages the new metadata through schema diffing?run_sqlauto manages the definitions of metadata on renaming?export_metadata/replace_metadatasupports the new metadata added?GraphQL
Breaking changes
No Breaking changes
There are breaking changes:
Metadata API
Existing
querytypes:argspayload which is not backward compatibleJSONschemaGraphQL API
Schema Generation:
NamedTypeSchema Resolve:-
nullvalue for any input fieldsLogging
JSONschema has changedtypenames have changed