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