platform/server/postgres/migrations/calendarSchema.sql
Denis Bykhov 76bcd3c52c
Improve calendar schema (#7156)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
2024-11-13 00:40:15 +07:00

6 lines
101 B
SQL

ALTER TABLE calendar
ADD "hidden" bool;
UPDATE calendar
SET "hidden" = (data->>'hidden')::boolean;