change external_id from int to varchar