Added migration otapi_id to external_id