Graphql-engine: cli: add command to reset migrations

Created on 14 Jul 2020  路  7Comments  路  Source: hasura/graphql-engine

hasura migrate reset

This command should clear the history of the migrations on the server and clear the local migrations. Basically, do steps 1 and 2 mentioned in this blog post: https://hasura.io/blog/resetting-hasura-migrations/

cli good first issue hacktoberfest

All 7 comments

I agree that this would be a good addition as my feature development workflow has lots of writing TRUNCATE hdb_catalog.schema_migrations; and rm -r migrations.

@scriptonist I like to work on this

@tharun208 you can go ahead, good luck! 馃榿

Edit: I've assigned this task to you as well.

Hi @tharun208! Wanted to check in if you need any help. Also, could you please open a draft PR with your progress?

I would like to work on this

Haven't heard from @tharun208 in while so I think it's okay for you pick it up @sushil97

@scriptonist i would love to work on this but right now i am working on another PR. So there will be some delays on this.

Was this page helpful?
0 / 5 - 0 ratings