graphql-engine/server/src-rsr/migrations/38_to_37.sql
2020-09-16 03:33:41 +05:30

4 lines
234 B
SQL

ALTER TABLE hdb_catalog.event_log ALTER COLUMN locked TYPE BOOLEAN USING locked IS NOT NULL;
ALTER TABLE hdb_catalog.event_log ALTER COLUMN locked SET NOT NULL;
ALTER TABLE hdb_catalog.event_log ALTER COLUMN locked SET DEFAULT false;