Set cache fields in database to be nullable