{"action":"created","comment":{"url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/comments/230649679","pull_request_review_id":171432504,"id":230649679,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDY0OTY3OQ==","diff_hunk":"@@ -0,0 +1,14 @@\n+class CreateComments < ActiveRecord::Migration[5.2]\n+  def change\n+    create_table :comments do |t|\n+      t.integer :commentable_id\n+      t.string :commentable_type\n+      t.text :content\n+      t.references :user, foreign_key: true\n+\n+      t.timestamps\n+    end\n+\n+    add_index :comments, [:commentable_type, :commentable_id]","path":"db/migrate/20181101113907_create_comments.rb","position":12,"original_position":12,"commit_id":"59276a1346ab90796ba759873a4c51bc179c2ef9","original_commit_id":"59276a1346ab90796ba759873a4c51bc179c2ef9","user":{"login":"taimur-akhtar","id":7848314,"node_id":"MDQ6VXNlcjc4NDgzMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7848314?v=4","gravatar_id":"","url":"https://api.github.com/users/taimur-akhtar","html_url":"https://github.com/taimur-akhtar","followers_url":"https://api.github.com/users/taimur-akhtar/followers","following_url":"https://api.github.com/users/taimur-akhtar/following{/other_user}","gists_url":"https://api.github.com/users/taimur-akhtar/gists{/gist_id}","starred_url":"https://api.github.com/users/taimur-akhtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taimur-akhtar/subscriptions","organizations_url":"https://api.github.com/users/taimur-akhtar/orgs","repos_url":"https://api.github.com/users/taimur-akhtar/repos","events_url":"https://api.github.com/users/taimur-akhtar/events{/privacy}","received_events_url":"https://api.github.com/users/taimur-akhtar/received_events","type":"User","site_admin":false},"body":"was this auto generated or you added it?","created_at":"2018-11-05T07:12:43Z","updated_at":"2018-11-05T07:12:43Z","html_url":"https://github.com/sidra-kidwai/project-management-app/pull/1#discussion_r230649679","pull_request_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/comments/230649679"},"html":{"href":"https://github.com/sidra-kidwai/project-management-app/pull/1#discussion_r230649679"},"pull_request":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1","id":227950486,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3OTUwNDg2","html_url":"https://github.com/sidra-kidwai/project-management-app/pull/1","diff_url":"https://github.com/sidra-kidwai/project-management-app/pull/1.diff","patch_url":"https://github.com/sidra-kidwai/project-management-app/pull/1.patch","issue_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/1","number":1,"state":"open","locked":false,"title":"Feature/payment","user":{"login":"sidra-kidwai","id":43951064,"node_id":"MDQ6VXNlcjQzOTUxMDY0","avatar_url":"https://avatars0.githubusercontent.com/u/43951064?v=4","gravatar_id":"","url":"https://api.github.com/users/sidra-kidwai","html_url":"https://github.com/sidra-kidwai","followers_url":"https://api.github.com/users/sidra-kidwai/followers","following_url":"https://api.github.com/users/sidra-kidwai/following{/other_user}","gists_url":"https://api.github.com/users/sidra-kidwai/gists{/gist_id}","starred_url":"https://api.github.com/users/sidra-kidwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidra-kidwai/subscriptions","organizations_url":"https://api.github.com/users/sidra-kidwai/orgs","repos_url":"https://api.github.com/users/sidra-kidwai/repos","events_url":"https://api.github.com/users/sidra-kidwai/events{/privacy}","received_events_url":"https://api.github.com/users/sidra-kidwai/received_events","type":"User","site_admin":false},"body":"Payment views implementation.\r\nChanges in some application files regarding that.\r\nComments structure and crud actions.\r\nChanges in project in accordance to payment and comments.","created_at":"2018-11-02T14:16:28Z","updated_at":"2018-11-05T07:12:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c0944f4d942270458d948444638ee255763baed","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/1/comments","statuses_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/statuses/59276a1346ab90796ba759873a4c51bc179c2ef9","head":{"label":"sidra-kidwai:feature/payment","ref":"feature/payment","sha":"59276a1346ab90796ba759873a4c51bc179c2ef9","user":{"login":"sidra-kidwai","id":43951064,"node_id":"MDQ6VXNlcjQzOTUxMDY0","avatar_url":"https://avatars0.githubusercontent.com/u/43951064?v=4","gravatar_id":"","url":"https://api.github.com/users/sidra-kidwai","html_url":"https://github.com/sidra-kidwai","followers_url":"https://api.github.com/users/sidra-kidwai/followers","following_url":"https://api.github.com/users/sidra-kidwai/following{/other_user}","gists_url":"https://api.github.com/users/sidra-kidwai/gists{/gist_id}","starred_url":"https://api.github.com/users/sidra-kidwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidra-kidwai/subscriptions","organizations_url":"https://api.github.com/users/sidra-kidwai/orgs","repos_url":"https://api.github.com/users/sidra-kidwai/repos","events_url":"https://api.github.com/users/sidra-kidwai/events{/privacy}","received_events_url":"https://api.github.com/users/sidra-kidwai/received_events","type":"User","site_admin":false},"repo":{"id":154308221,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzMDgyMjE=","name":"project-management-app","full_name":"sidra-kidwai/project-management-app","private":false,"owner":{"login":"sidra-kidwai","id":43951064,"node_id":"MDQ6VXNlcjQzOTUxMDY0","avatar_url":"https://avatars0.githubusercontent.com/u/43951064?v=4","gravatar_id":"","url":"https://api.github.com/users/sidra-kidwai","html_url":"https://github.com/sidra-kidwai","followers_url":"https://api.github.com/users/sidra-kidwai/followers","following_url":"https://api.github.com/users/sidra-kidwai/following{/other_user}","gists_url":"https://api.github.com/users/sidra-kidwai/gists{/gist_id}","starred_url":"https://api.github.com/users/sidra-kidwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidra-kidwai/subscriptions","organizations_url":"https://api.github.com/users/sidra-kidwai/orgs","repos_url":"https://api.github.com/users/sidra-kidwai/repos","events_url":"https://api.github.com/users/sidra-kidwai/events{/privacy}","received_events_url":"https://api.github.com/users/sidra-kidwai/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sidra-kidwai/project-management-app","description":null,"fork":false,"url":"https://api.github.com/repos/sidra-kidwai/project-management-app","forks_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/forks","keys_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/teams","hooks_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/hooks","issue_events_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/events{/number}","events_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/events","assignees_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/assignees{/user}","branches_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/branches{/branch}","tags_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/tags","blobs_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/statuses/{sha}","languages_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/languages","stargazers_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/stargazers","contributors_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/contributors","subscribers_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/subscribers","subscription_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/subscription","commits_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/contents/{+path}","compare_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/merges","archive_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/downloads","issues_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues{/number}","pulls_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls{/number}","milestones_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/milestones{/number}","notifications_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/labels{/name}","releases_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/releases{/id}","deployments_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/deployments","created_at":"2018-10-23T10:23:54Z","updated_at":"2018-11-01T11:12:42Z","pushed_at":"2018-11-02T14:16:28Z","git_url":"git://github.com/sidra-kidwai/project-management-app.git","ssh_url":"git@github.com:sidra-kidwai/project-management-app.git","clone_url":"https://github.com/sidra-kidwai/project-management-app.git","svn_url":"https://github.com/sidra-kidwai/project-management-app","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sidra-kidwai:development","ref":"development","sha":"a8eb2897ac6e9079632800044121f918bade0715","user":{"login":"sidra-kidwai","id":43951064,"node_id":"MDQ6VXNlcjQzOTUxMDY0","avatar_url":"https://avatars0.githubusercontent.com/u/43951064?v=4","gravatar_id":"","url":"https://api.github.com/users/sidra-kidwai","html_url":"https://github.com/sidra-kidwai","followers_url":"https://api.github.com/users/sidra-kidwai/followers","following_url":"https://api.github.com/users/sidra-kidwai/following{/other_user}","gists_url":"https://api.github.com/users/sidra-kidwai/gists{/gist_id}","starred_url":"https://api.github.com/users/sidra-kidwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidra-kidwai/subscriptions","organizations_url":"https://api.github.com/users/sidra-kidwai/orgs","repos_url":"https://api.github.com/users/sidra-kidwai/repos","events_url":"https://api.github.com/users/sidra-kidwai/events{/privacy}","received_events_url":"https://api.github.com/users/sidra-kidwai/received_events","type":"User","site_admin":false},"repo":{"id":154308221,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzMDgyMjE=","name":"project-management-app","full_name":"sidra-kidwai/project-management-app","private":false,"owner":{"login":"sidra-kidwai","id":43951064,"node_id":"MDQ6VXNlcjQzOTUxMDY0","avatar_url":"https://avatars0.githubusercontent.com/u/43951064?v=4","gravatar_id":"","url":"https://api.github.com/users/sidra-kidwai","html_url":"https://github.com/sidra-kidwai","followers_url":"https://api.github.com/users/sidra-kidwai/followers","following_url":"https://api.github.com/users/sidra-kidwai/following{/other_user}","gists_url":"https://api.github.com/users/sidra-kidwai/gists{/gist_id}","starred_url":"https://api.github.com/users/sidra-kidwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidra-kidwai/subscriptions","organizations_url":"https://api.github.com/users/sidra-kidwai/orgs","repos_url":"https://api.github.com/users/sidra-kidwai/repos","events_url":"https://api.github.com/users/sidra-kidwai/events{/privacy}","received_events_url":"https://api.github.com/users/sidra-kidwai/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sidra-kidwai/project-management-app","description":null,"fork":false,"url":"https://api.github.com/repos/sidra-kidwai/project-management-app","forks_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/forks","keys_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/teams","hooks_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/hooks","issue_events_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/events{/number}","events_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/events","assignees_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/assignees{/user}","branches_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/branches{/branch}","tags_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/tags","blobs_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/statuses/{sha}","languages_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/languages","stargazers_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/stargazers","contributors_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/contributors","subscribers_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/subscribers","subscription_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/subscription","commits_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/contents/{+path}","compare_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/merges","archive_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/downloads","issues_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues{/number}","pulls_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls{/number}","milestones_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/milestones{/number}","notifications_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/labels{/name}","releases_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/releases{/id}","deployments_url":"https://api.github.com/repos/sidra-kidwai/project-management-app/deployments","created_at":"2018-10-23T10:23:54Z","updated_at":"2018-11-01T11:12:42Z","pushed_at":"2018-11-02T14:16:28Z","git_url":"git://github.com/sidra-kidwai/project-management-app.git","ssh_url":"git@github.com:sidra-kidwai/project-management-app.git","clone_url":"https://github.com/sidra-kidwai/project-management-app.git","svn_url":"https://github.com/sidra-kidwai/project-management-app","homepage":null,"size":93,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1"},"html":{"href":"https://github.com/sidra-kidwai/project-management-app/pull/1"},"issue":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/1"},"comments":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sidra-kidwai/project-management-app/statuses/59276a1346ab90796ba759873a4c51bc179c2ef9"}},"author_association":"OWNER"}}
{"actor":{"display_login":"taimur-akhtar"}}