Add migration add user_id to pin with index, and add association