graphql-engine/cli/migrate
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
..
api cli: remove migration files if api returns error (close #4312) (#4319) 2020-04-08 10:54:47 +05:30
cmd cli: allow managing actions (#3859) 2020-02-24 21:44:46 +05:30
database cli: fix parse error returned on console api (close #4126) (#4152) 2020-03-25 16:12:39 +05:30
source cli: allow managing actions (#3859) 2020-02-24 21:44:46 +05:30
migrate.go cli: refactor console command (#4150) 2020-04-07 14:53:20 +05:30
migration.go add hasura cli package 2018-06-24 19:10:48 +05:30
status.go add name to migrate status response (close #2376) (#3109) 2019-11-28 17:06:16 +05:30
util.go cli: refactor console command (#4150) 2020-04-07 14:53:20 +05:30