hasura / hasura/graphql-engine
Pretty Print Migrations For Readability
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Is your proposal related to a problem?
We use Hasura Console to make table additions / modifications to Postgres which generates the appropriate migrations and configurations, which are then reviewed in Github and applied to staging and then production.
As with all PR best practices, we require a PR review and approval from a colleague before it can be accepted. Unfortunately, the migrations generated by Hasura can be really hard to read. Some of our engineers will then clean things up by hand to make it easier for a review.
Related To: #2635

### Describe the solution you'd like
Generate a pretty printed migration files for changes made in Hasura console.
### Describe alternatives you've considered
Manually cleaning up in `vim` after Hasura does the hard work.
### If the feature is approved, would you be willing to submit a PR?
Maybe if I have time. Would love to contribute to this lovely project.
Contributor guide
Assessment
This issue has not been assessed yet.