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