graphql-engine/server/src-rsr/migrate_from_8_to_9.sql
2019-01-28 19:25:28 +05:30

6 lines
276 B
SQL

ALTER TABLE hdb_catalog.hdb_version
ADD COLUMN hasura_uuid UUID DEFAULT gen_random_uuid(),
ADD COLUMN cli_state JSONB NOT NULL DEFAULT '{}'::jsonb,
ADD COLUMN console_state JSONB NOT NULL DEFAULT '{}'::jsonb,
ADD CONSTRAINT hasura_uuid_pkey PRIMARY KEY (hasura_uuid);