Add model validation so that all required fields are present before storing within the database.