graphql-engine/cli/migrate/api
Aravind Shankar 325771e406
cli: remove migration files if api returns error (close #4312) (#4319)
When using console from CLI and a migration is created, the files are written first and an API call is made to Hasura to execute that migration. There was a bug which caused this file to remain when the API call to Hasura failed. This commit fixes the bug by deleting the files if Hasura API call fails and propagates the error to console.
2020-04-08 10:54:47 +05:30
..
metadata.go cli: allow managing actions (#3859) 2020-02-24 21:44:46 +05:30
migrate.go cli: remove migration files if api returns error (close #4312) (#4319) 2020-04-08 10:54:47 +05:30
settings.go cli(migrations): new folder structure and squash (#3072) 2019-10-31 07:51:15 +05:30
squash.go cli(migrations): new folder structure and squash (#3072) 2019-10-31 07:51:15 +05:30