mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
325771e406
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. |
||
---|---|---|
.. | ||
api | ||
cmd | ||
database | ||
source | ||
migrate.go | ||
migration.go | ||
status.go | ||
util.go |