See changeset with id 201312271828-TRUNK-4156 which adds the not null constraint. I think you are missing some updates