MyGit

v2.22.0-beta.2

hasura/graphql-engine

版本发布时间: 2023-03-28 22:48:19

hasura/graphql-engine最新发布版本:v2.44.0(2024-10-08 18:36:54)

Changelog

Behaviour change

Removes a Hasura metadata catalog migration that was added in v2.22.0-beta.1 on the hdb_catalog.event_log and hdb.event_invocation_logs tables.

With this change, on upgrading to v2.22.0-beta.2 from v2.22.0-beta.1, the following startup error will be thrown:

{
  "detail": {
    "kind": "catalog_migrate",
    "info": {  "code": "not-supported", "error": "Expected source catalog version <= 3, but the current version is 4", "path": "$"}
  },
  "level": "error",
  "timestamp": "2023-03-28T10:17:24.289+0530",
  "type": "startup"
}

To fix these errors run the following SQL on the database where the event triggers are defined on and restart the Hasura instance.

UPDATE hdb_catalog.hdb_source_catalog_version SET version = 3, upgraded_on= NOW();
ALTER table hdb_catalog.event_log ALTER COLUMN created_at SET DEFAULT NOW();
ALTER table hdb_catalog.event_invocation_logs ALTER COLUMN created_at SET DEFAULT NOW();

相关地址:原始地址 下载(tar) 下载(zip)

1、 cli-hasura-darwin-amd64 75.41MB

2、 cli-hasura-darwin-arm64 75.43MB

3、 cli-hasura-linux-amd64 23.5MB

4、 cli-hasura-linux-arm64 22.05MB

5、 cli-hasura-windows-amd64.exe 69.27MB

查看:2023-03-28发行的版本