platform/server/postgres/migrations/spaceSchema.sql

6 lines
101 B
MySQL
Raw Normal View History

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