mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-24 07:52:14 +03:00
58c44f55dd
GitOrigin-RevId: 1c8c4d60e033c8a0bc8b2beed24c5bceb7d4bcc8
4 lines
257 B
SQL
4 lines
257 B
SQL
ALTER TABLE hdb_catalog.event_log ALTER COLUMN locked DROP DEFAULT;
|
|
ALTER TABLE hdb_catalog.event_log ALTER COLUMN locked DROP NOT NULL;
|
|
ALTER TABLE hdb_catalog.event_log ALTER COLUMN locked TYPE TIMESTAMPTZ USING CASE WHEN locked THEN NOW() ELSE NULL END;
|