mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
a66fb42ce2
* Separate DB and metadata migrations * Refactor Migrate.hs to generate list of migrations at compile-time * Replace ginger with shakespeare to improve performance * Improve migration log messages
6 lines
276 B
SQL
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);
|