graphql-engine/server/src-rsr/migrations/8_to_9.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
276 B
MySQL
Raw Normal View History

2019-01-28 16:55:28 +03:00
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);