Constraint 'id' to be an integer.