{"action":"created","comment":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/42959312","id":42959312,"diff_hunk":"@@ -0,0 +1,25 @@\n+class CreateCourseAssessmentQuestionTextResponse < ActiveRecord::Migration\n+  def change\n+    create_table :course_assessment_question_text_responses do\n+    end\n+\n+    create_table :course_assessment_question_text_response_solutions do |t|\n+      t.references :question,\n+                   null: false,\n+                   index: {\n+                     name: :fk__course_assessment_text_response_solution_question","path":"db/migrate/20151021014315_create_course_assessment_question_text_response.rb","position":10,"original_position":10,"commit_id":"c312f757ec0cfd715c9b72f7bed6861540c3f1e3","original_commit_id":"c312f757ec0cfd715c9b72f7bed6861540c3f1e3","user":{"login":"BenMQ","id":1323561,"avatar_url":"https://avatars.githubusercontent.com/u/1323561?v=3","gravatar_id":"","url":"https://api.github.com/users/BenMQ","html_url":"https://github.com/BenMQ","followers_url":"https://api.github.com/users/BenMQ/followers","following_url":"https://api.github.com/users/BenMQ/following{/other_user}","gists_url":"https://api.github.com/users/BenMQ/gists{/gist_id}","starred_url":"https://api.github.com/users/BenMQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenMQ/subscriptions","organizations_url":"https://api.github.com/users/BenMQ/orgs","repos_url":"https://api.github.com/users/BenMQ/repos","events_url":"https://api.github.com/users/BenMQ/events{/privacy}","received_events_url":"https://api.github.com/users/BenMQ/received_events","type":"User","site_admin":false},"body":"same as above, was following https://github.com/Coursemology/coursemology2/blob/master/db/migrate/20150726062900_create_course_assessment_question_multiple_response.rb so not too sure :/","created_at":"2015-10-26T04:29:10Z","updated_at":"2015-10-26T04:29:10Z","html_url":"https://github.com/Coursemology/coursemology2/pull/523#discussion_r42959312","pull_request_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523","_links":{"self":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments/42959312"},"html":{"href":"https://github.com/Coursemology/coursemology2/pull/523#discussion_r42959312"},"pull_request":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523"}}},"pull_request":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523","id":48286788,"html_url":"https://github.com/Coursemology/coursemology2/pull/523","diff_url":"https://github.com/Coursemology/coursemology2/pull/523.diff","patch_url":"https://github.com/Coursemology/coursemology2/pull/523.patch","issue_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/523","number":523,"state":"open","locked":false,"title":"Implement models for text response question","user":{"login":"BenMQ","id":1323561,"avatar_url":"https://avatars.githubusercontent.com/u/1323561?v=3","gravatar_id":"","url":"https://api.github.com/users/BenMQ","html_url":"https://github.com/BenMQ","followers_url":"https://api.github.com/users/BenMQ/followers","following_url":"https://api.github.com/users/BenMQ/following{/other_user}","gists_url":"https://api.github.com/users/BenMQ/gists{/gist_id}","starred_url":"https://api.github.com/users/BenMQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenMQ/subscriptions","organizations_url":"https://api.github.com/users/BenMQ/orgs","repos_url":"https://api.github.com/users/BenMQ/repos","events_url":"https://api.github.com/users/BenMQ/events{/privacy}","received_events_url":"https://api.github.com/users/BenMQ/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-21T04:19:19Z","updated_at":"2015-10-26T04:29:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"944734597afed5ba46e22caaf9615d93ac056d99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523/commits","review_comments_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523/comments","review_comment_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/523/comments","statuses_url":"https://api.github.com/repos/Coursemology/coursemology2/statuses/c312f757ec0cfd715c9b72f7bed6861540c3f1e3","head":{"label":"BenMQ:text-response-question","ref":"text-response-question","sha":"c312f757ec0cfd715c9b72f7bed6861540c3f1e3","user":{"login":"BenMQ","id":1323561,"avatar_url":"https://avatars.githubusercontent.com/u/1323561?v=3","gravatar_id":"","url":"https://api.github.com/users/BenMQ","html_url":"https://github.com/BenMQ","followers_url":"https://api.github.com/users/BenMQ/followers","following_url":"https://api.github.com/users/BenMQ/following{/other_user}","gists_url":"https://api.github.com/users/BenMQ/gists{/gist_id}","starred_url":"https://api.github.com/users/BenMQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenMQ/subscriptions","organizations_url":"https://api.github.com/users/BenMQ/orgs","repos_url":"https://api.github.com/users/BenMQ/repos","events_url":"https://api.github.com/users/BenMQ/events{/privacy}","received_events_url":"https://api.github.com/users/BenMQ/received_events","type":"User","site_admin":false},"repo":{"id":40589837,"name":"coursemology2","full_name":"BenMQ/coursemology2","owner":{"login":"BenMQ","id":1323561,"avatar_url":"https://avatars.githubusercontent.com/u/1323561?v=3","gravatar_id":"","url":"https://api.github.com/users/BenMQ","html_url":"https://github.com/BenMQ","followers_url":"https://api.github.com/users/BenMQ/followers","following_url":"https://api.github.com/users/BenMQ/following{/other_user}","gists_url":"https://api.github.com/users/BenMQ/gists{/gist_id}","starred_url":"https://api.github.com/users/BenMQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenMQ/subscriptions","organizations_url":"https://api.github.com/users/BenMQ/orgs","repos_url":"https://api.github.com/users/BenMQ/repos","events_url":"https://api.github.com/users/BenMQ/events{/privacy}","received_events_url":"https://api.github.com/users/BenMQ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BenMQ/coursemology2","description":"Rails 4 re-write of Coursemology","fork":true,"url":"https://api.github.com/repos/BenMQ/coursemology2","forks_url":"https://api.github.com/repos/BenMQ/coursemology2/forks","keys_url":"https://api.github.com/repos/BenMQ/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BenMQ/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BenMQ/coursemology2/teams","hooks_url":"https://api.github.com/repos/BenMQ/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/BenMQ/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/BenMQ/coursemology2/events","assignees_url":"https://api.github.com/repos/BenMQ/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/BenMQ/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/BenMQ/coursemology2/tags","blobs_url":"https://api.github.com/repos/BenMQ/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BenMQ/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BenMQ/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/BenMQ/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BenMQ/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/BenMQ/coursemology2/languages","stargazers_url":"https://api.github.com/repos/BenMQ/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/BenMQ/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/BenMQ/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/BenMQ/coursemology2/subscription","commits_url":"https://api.github.com/repos/BenMQ/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/BenMQ/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/BenMQ/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/BenMQ/coursemology2/issues/comments{/number}","contents_url":"https://api.github.com/repos/BenMQ/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/BenMQ/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BenMQ/coursemology2/merges","archive_url":"https://api.github.com/repos/BenMQ/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BenMQ/coursemology2/downloads","issues_url":"https://api.github.com/repos/BenMQ/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/BenMQ/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/BenMQ/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/BenMQ/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BenMQ/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/BenMQ/coursemology2/releases{/id}","created_at":"2015-08-12T08:40:22Z","updated_at":"2015-08-12T08:40:23Z","pushed_at":"2015-10-25T18:57:48Z","git_url":"git://github.com/BenMQ/coursemology2.git","ssh_url":"git@github.com:BenMQ/coursemology2.git","clone_url":"https://github.com/BenMQ/coursemology2.git","svn_url":"https://github.com/BenMQ/coursemology2","homepage":null,"size":1762,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Coursemology:master","ref":"master","sha":"3b392e29de924f9dbbb2f3d80eb0b9ae3ab9de20","user":{"login":"Coursemology","id":4427741,"avatar_url":"https://avatars.githubusercontent.com/u/4427741?v=3","gravatar_id":"","url":"https://api.github.com/users/Coursemology","html_url":"https://github.com/Coursemology","followers_url":"https://api.github.com/users/Coursemology/followers","following_url":"https://api.github.com/users/Coursemology/following{/other_user}","gists_url":"https://api.github.com/users/Coursemology/gists{/gist_id}","starred_url":"https://api.github.com/users/Coursemology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coursemology/subscriptions","organizations_url":"https://api.github.com/users/Coursemology/orgs","repos_url":"https://api.github.com/users/Coursemology/repos","events_url":"https://api.github.com/users/Coursemology/events{/privacy}","received_events_url":"https://api.github.com/users/Coursemology/received_events","type":"Organization","site_admin":false},"repo":{"id":22155032,"name":"coursemology2","full_name":"Coursemology/coursemology2","owner":{"login":"Coursemology","id":4427741,"avatar_url":"https://avatars.githubusercontent.com/u/4427741?v=3","gravatar_id":"","url":"https://api.github.com/users/Coursemology","html_url":"https://github.com/Coursemology","followers_url":"https://api.github.com/users/Coursemology/followers","following_url":"https://api.github.com/users/Coursemology/following{/other_user}","gists_url":"https://api.github.com/users/Coursemology/gists{/gist_id}","starred_url":"https://api.github.com/users/Coursemology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coursemology/subscriptions","organizations_url":"https://api.github.com/users/Coursemology/orgs","repos_url":"https://api.github.com/users/Coursemology/repos","events_url":"https://api.github.com/users/Coursemology/events{/privacy}","received_events_url":"https://api.github.com/users/Coursemology/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Coursemology/coursemology2","description":"Rails 4 re-write of Coursemology","fork":false,"url":"https://api.github.com/repos/Coursemology/coursemology2","forks_url":"https://api.github.com/repos/Coursemology/coursemology2/forks","keys_url":"https://api.github.com/repos/Coursemology/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coursemology/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coursemology/coursemology2/teams","hooks_url":"https://api.github.com/repos/Coursemology/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/Coursemology/coursemology2/events","assignees_url":"https://api.github.com/repos/Coursemology/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/Coursemology/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/Coursemology/coursemology2/tags","blobs_url":"https://api.github.com/repos/Coursemology/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coursemology/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coursemology/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coursemology/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coursemology/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/Coursemology/coursemology2/languages","stargazers_url":"https://api.github.com/repos/Coursemology/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/Coursemology/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/Coursemology/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/Coursemology/coursemology2/subscription","commits_url":"https://api.github.com/repos/Coursemology/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coursemology/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Coursemology/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/Coursemology/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coursemology/coursemology2/merges","archive_url":"https://api.github.com/repos/Coursemology/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coursemology/coursemology2/downloads","issues_url":"https://api.github.com/repos/Coursemology/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/Coursemology/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/Coursemology/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/Coursemology/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coursemology/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/Coursemology/coursemology2/releases{/id}","created_at":"2014-07-23T14:57:06Z","updated_at":"2015-07-29T08:51:36Z","pushed_at":"2015-10-26T04:18:00Z","git_url":"git://github.com/Coursemology/coursemology2.git","ssh_url":"git@github.com:Coursemology/coursemology2.git","clone_url":"https://github.com/Coursemology/coursemology2.git","svn_url":"https://github.com/Coursemology/coursemology2","homepage":null,"size":7211,"stargazers_count":13,"watchers_count":13,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":43,"forks":12,"open_issues":43,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523"},"html":{"href":"https://github.com/Coursemology/coursemology2/pull/523"},"issue":{"href":"https://api.github.com/repos/Coursemology/coursemology2/issues/523"},"comments":{"href":"https://api.github.com/repos/Coursemology/coursemology2/issues/523/comments"},"review_comments":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523/comments"},"review_comment":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Coursemology/coursemology2/pulls/523/commits"},"statuses":{"href":"https://api.github.com/repos/Coursemology/coursemology2/statuses/c312f757ec0cfd715c9b72f7bed6861540c3f1e3"}}}}