mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
13bedf5821
* fix resetting the catalog version to 43 on migration from 1.0 to 2.0 * ci: remove applying patch in test_oss_server_upgrade job * make the 43 to 46th migrations idempotent * Set missing HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE=8 in upgrade_test It's not clear why this wasn't caught in CI. * ci: disable one component of event backpressure test Co-authored-by: Vishnu Bharathi P <vishnubharathi04@gmail.com> Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io> Co-authored-by: Brandon Simmons <brandon@hasura.io> GitOrigin-RevId: c74c6425266a99165c6beecc3e4f7c34e6884d4d
13 lines
454 B
SQL
13 lines
454 B
SQL
-- This migration adds the schema notification table
|
|
--
|
|
-- NOTE: In OSS this table only contains a single row (indicated by ID 1).
|
|
-- This may change to allow multiple notifications in future.
|
|
CREATE TABLE IF NOT EXISTS hdb_catalog.hdb_schema_notifications
|
|
(
|
|
id INTEGER PRIMARY KEY CHECK (id = 1),
|
|
notification JSON NOT NULL,
|
|
resource_version INTEGER NOT NULL DEFAULT 1,
|
|
instance_id UUID NOT NULL,
|
|
updated_at TIMESTAMPTZ DEFAULT NOW()
|
|
);
|