How can I add validation for columns in a table?