graphql-engine
graphql-engine copied to clipboard
Show applied migrations in CLI image (like hasura-cli does)
Is your proposal related to a problem?
with debug log level, hasura-cli shows which migrations are applied. but the docker-cli image doesn't.
Here's hasura-cli migrate apply --skip-update-check --project hasura --log-level DEBUG
And here's the only information provided by hasura/graphql-engine:v2.9.0.cli-migrations-v2
image with HASURA_GRAPHQL_LOG_LEVEL: debug
{"timestamp":"2022-08-05T12:31:23.000+0000","level":"info","type":"startup","detail":{"kind":"migrations-apply","info":"applying migrations from /hasura/migrations"}}
Describe the solution you'd like
I would like the same debug lines to be present, one for each migration applied.
Describe alternatives you've considered
There are none.
If the feature is approved, would you be willing to submit a PR?
doubtful
Please?
This would tremendously help us troubleshoot migration failures...