Link user with media by creating media.user_id column