Open tirumaraiselvan opened 4 years ago
Another error message which needs to be fixed is when you try to downgrade but use a lower version build to execute the downgrade command:
{"path":"$","error":"This downgrade path (from 36 to 34) is not supported, because there is no available migration back to version 11.","code":"not-supported"}
Also on downgrading to 36 from 40 the log message seems to be inverted? {“type”:“startup”,“timestamp”:“2021-04-07T07:52:01.065+0000",“level”:“info”,“detail”:{“kind”:“catalog_migrate”,“info”:“Successfully migrated from catalog version 36 to version 40.“}} MRMigrated “40”
If I run the downgrade command:
$ docker run -e HASURA_GRAPHQL_DATABASE_URL=$DATABASE_URL hasura/graphql-engine:v1.2.0 graphql-engine downgrade --to-v1.1.1
The response is:
MRMigrated "34"
Two problems here: