change department_ids from varchar to text at activity table