mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
0c21100892
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2687 GitOrigin-RevId: 9fd1c9bdfdf8de1e0d39333368ec799ae92a9e71
18 lines
480 B
SQL
18 lines
480 B
SQL
ALTER TABLE hdb_catalog.event_log
|
|
ALTER COLUMN id
|
|
SET DEFAULT hdb_catalog.gen_hasura_uuid();
|
|
|
|
ALTER TABLE hdb_catalog.event_invocation_logs
|
|
ALTER COLUMN id
|
|
SET DEFAULT hdb_catalog.gen_hasura_uuid();
|
|
|
|
ALTER TABLE hdb_catalog.event_log RENAME COLUMN locked TO locked_boolean;
|
|
|
|
ALTER TABLE hdb_catalog.event_log ADD COLUMN locked TIMESTAMPTZ;
|
|
|
|
UPDATE hdb_catalog.event_log
|
|
SET locked = NOW()
|
|
WHERE locked_boolean = 't';
|
|
|
|
ALTER TABLE hdb_catalog.event_log DROP COLUMN locked_boolean;
|