Add validations to your ActiveRecord models based on your database constraints.