Add external_id to devices
Rename user_id to creator_user_id