Adding validation to content_ models to protect database types