Skip to content
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

cli: remove migration files if api returns error (close #4312) #4319

Merged
merged 3 commits into from
Apr 8, 2020

Conversation

arvi3411301
Copy link
Member

@arvi3411301 arvi3411301 commented Apr 7, 2020

Description

This PR fixes the bug with CLI migrate API which doesn't delete the migration files if the request fails.

Changelog

  • CHANGELOG.md is updated with user-facing content relevant to this PR.

Affected components

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System
  • Tests
  • Other (list it)

Related Issues

#4312

Solution and Design

Steps to test and verify

Limitations, known bugs & workarounds

@hasura-bot
Copy link
Contributor

Review app for commit b419306 deployed to Heroku: https://hge-ci-pull-4319.herokuapp.com
Docker image for server: hasura/graphql-engine:pull4319-b4193065

@arvi3411301 arvi3411301 marked this pull request as ready for review April 7, 2020 19:53
@arvi3411301 arvi3411301 requested a review from a team as a code owner April 7, 2020 19:53
@arvi3411301 arvi3411301 added this to the v1.2 milestone Apr 7, 2020
@arvi3411301 arvi3411301 requested a review from a team as a code owner April 7, 2020 19:56
@arvi3411301 arvi3411301 added the c/cli Related to CLI label Apr 7, 2020
@hasura-bot
Copy link
Contributor

Review app for commit 3ef083b deployed to Heroku: https://hge-ci-pull-4319.herokuapp.com
Docker image for server: hasura/graphql-engine:pull4319-3ef083b6

@shahidhk shahidhk changed the title cli: clean up migration files created during a failed migrate api cli: clean up migration files created during a failed migrate api (close #4312) Apr 8, 2020
@shahidhk shahidhk changed the title cli: clean up migration files created during a failed migrate api (close #4312) cli: remove migration files if api returns error (close #4312) Apr 8, 2020
@shahidhk shahidhk merged commit 325771e into hasura:master Apr 8, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-4319.herokuapp.com is deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants