{"comment":{"url":"https://api.github.com/repos/RomaShep/Home-Work/comments/16588180","html_url":"https://github.com/RomaShep/Home-Work/commit/3fa0f60185590da046fe17dc0bae34b7b39d0ad7#commitcomment-16588180","id":16588180,"user":{"login":"nikolaylositskiy","id":4630024,"avatar_url":"https://avatars.githubusercontent.com/u/4630024?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolaylositskiy","html_url":"https://github.com/nikolaylositskiy","followers_url":"https://api.github.com/users/nikolaylositskiy/followers","following_url":"https://api.github.com/users/nikolaylositskiy/following{/other_user}","gists_url":"https://api.github.com/users/nikolaylositskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolaylositskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolaylositskiy/subscriptions","organizations_url":"https://api.github.com/users/nikolaylositskiy/orgs","repos_url":"https://api.github.com/users/nikolaylositskiy/repos","events_url":"https://api.github.com/users/nikolaylositskiy/events{/privacy}","received_events_url":"https://api.github.com/users/nikolaylositskiy/received_events","type":"User","site_admin":false},"position":7,"line":7,"path":"PetitionApp/db/migrate/20160304223447_create_petitions.rb","commit_id":"3fa0f60185590da046fe17dc0bae34b7b39d0ad7","created_at":"2016-03-09T13:04:57Z","updated_at":"2016-03-09T13:04:57Z","body":"нужно написать либо  t.integer :user_id либо t.references :user, index: true, foreign_key: true"}}