ALTER TABLE projects ADD COLUMN collapsed BOOLEAN NOT NULL DEFAULT FALSE CHECK (collapsed IN (FALSE, TRUE));