{"action":"created","comment":{"url":"https://api.github.com/repos/coinfi/coinfi/pulls/comments/177045822","pull_request_review_id":106849537,"id":177045822,"diff_hunk":"@@ -0,0 +1,70 @@\n+class AddIcoFieldsToCoins < ActiveRecord::Migration[5.1]\n+  def change\n+    add_column :coins, :ico_status, :string\n+\n+    add_column :coins, :ico_usd_raised, :bigint\n+    add_column :coins, :ico_start_date, :bigint\n+    add_column :coins, :ico_end_date, :bigint\n+\n+    add_column :coins, :ico_token_price_usd, :decimal, precision: 10, scale: 2\n+    add_column :coins, :ico_token_price_btc, :decimal, precision: 24, scale: 16\n+    add_column :coins, :ico_token_price_eth, :decimal, precision: 24, scale: 16\n+\n+    add_column :coins, :ico_personal_cap_usd_min, :decimal, precision: 10, scale: 2\n+    add_column :coins, :ico_personal_cap_usd_max, :decimal, precision: 10, scale: 2\n+\n+    add_column :coins, :ico_fundraising_goal_usd, :decimal, precision: 18, scale: 2\n+    add_column :coins, :ico_fundraising_goal_eth, :decimal, precision: 24, scale: 16\n+    add_column :coins, :ico_fundraising_status_usd, :decimal, precision: 18, scale: 2\n+    add_column :coins, :ico_fundraising_status_eth, :decimal, precision: 24, scale: 16\n+\n+    add_column :coins, :ico_tokens_sold, :decimal, precision: 32, scale: 16\n+\n+    add_column :coins, :ico_returns_usd, :float\n+    add_column :coins, :ico_returns_btc, :float\n+    add_column :coins, :ico_returns_eth, :float\n+\n+    add_column :coins, :influencer, :jsonb\n+\n+    add_column :coins, :excluded_countries, :jsonb, array: true","path":"db/migrate/20180326043054_add_ico_fields_to_coins.rb","position":29,"original_position":29,"commit_id":"0211433978655d90d941bcb11ebf4892b48e3438","original_commit_id":"0211433978655d90d941bcb11ebf4892b48e3438","user":{"login":"cheeseweasel","id":188345,"avatar_url":"https://avatars3.githubusercontent.com/u/188345?v=4","gravatar_id":"","url":"https://api.github.com/users/cheeseweasel","html_url":"https://github.com/cheeseweasel","followers_url":"https://api.github.com/users/cheeseweasel/followers","following_url":"https://api.github.com/users/cheeseweasel/following{/other_user}","gists_url":"https://api.github.com/users/cheeseweasel/gists{/gist_id}","starred_url":"https://api.github.com/users/cheeseweasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheeseweasel/subscriptions","organizations_url":"https://api.github.com/users/cheeseweasel/orgs","repos_url":"https://api.github.com/users/cheeseweasel/repos","events_url":"https://api.github.com/users/cheeseweasel/events{/privacy}","received_events_url":"https://api.github.com/users/cheeseweasel/received_events","type":"User","site_admin":false},"body":"It should set it up as an array of jsonb, did I misinterpret your intent here?","created_at":"2018-03-26T10:35:48Z","updated_at":"2018-03-26T10:35:48Z","html_url":"https://github.com/coinfi/coinfi/pull/28#discussion_r177045822","pull_request_url":"https://api.github.com/repos/coinfi/coinfi/pulls/28","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/coinfi/coinfi/pulls/comments/177045822"},"html":{"href":"https://github.com/coinfi/coinfi/pull/28#discussion_r177045822"},"pull_request":{"href":"https://api.github.com/repos/coinfi/coinfi/pulls/28"}},"in_reply_to_id":177035146},"pull_request":{"url":"https://api.github.com/repos/coinfi/coinfi/pulls/28","id":177357819,"html_url":"https://github.com/coinfi/coinfi/pull/28","diff_url":"https://github.com/coinfi/coinfi/pull/28.diff","patch_url":"https://github.com/coinfi/coinfi/pull/28.patch","issue_url":"https://api.github.com/repos/coinfi/coinfi/issues/28","number":28,"state":"open","locked":false,"title":"ICO Data setup","user":{"login":"cheeseweasel","id":188345,"avatar_url":"https://avatars3.githubusercontent.com/u/188345?v=4","gravatar_id":"","url":"https://api.github.com/users/cheeseweasel","html_url":"https://github.com/cheeseweasel","followers_url":"https://api.github.com/users/cheeseweasel/followers","following_url":"https://api.github.com/users/cheeseweasel/following{/other_user}","gists_url":"https://api.github.com/users/cheeseweasel/gists{/gist_id}","starred_url":"https://api.github.com/users/cheeseweasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheeseweasel/subscriptions","organizations_url":"https://api.github.com/users/cheeseweasel/orgs","repos_url":"https://api.github.com/users/cheeseweasel/repos","events_url":"https://api.github.com/users/cheeseweasel/events{/privacy}","received_events_url":"https://api.github.com/users/cheeseweasel/received_events","type":"User","site_admin":false},"body":"This PR is intended to update the data structure, and implement any other changes required for the ICO data integration.","created_at":"2018-03-26T07:01:39Z","updated_at":"2018-03-26T10:35:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8d51b79c13b86647258738bc9e38ba037adc489","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coinfi/coinfi/pulls/28/commits","review_comments_url":"https://api.github.com/repos/coinfi/coinfi/pulls/28/comments","review_comment_url":"https://api.github.com/repos/coinfi/coinfi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coinfi/coinfi/issues/28/comments","statuses_url":"https://api.github.com/repos/coinfi/coinfi/statuses/0211433978655d90d941bcb11ebf4892b48e3438","head":{"label":"coinfi:coinfi-ico-setup","ref":"coinfi-ico-setup","sha":"0211433978655d90d941bcb11ebf4892b48e3438","user":{"login":"coinfi","id":31571310,"avatar_url":"https://avatars3.githubusercontent.com/u/31571310?v=4","gravatar_id":"","url":"https://api.github.com/users/coinfi","html_url":"https://github.com/coinfi","followers_url":"https://api.github.com/users/coinfi/followers","following_url":"https://api.github.com/users/coinfi/following{/other_user}","gists_url":"https://api.github.com/users/coinfi/gists{/gist_id}","starred_url":"https://api.github.com/users/coinfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coinfi/subscriptions","organizations_url":"https://api.github.com/users/coinfi/orgs","repos_url":"https://api.github.com/users/coinfi/repos","events_url":"https://api.github.com/users/coinfi/events{/privacy}","received_events_url":"https://api.github.com/users/coinfi/received_events","type":"Organization","site_admin":false},"repo":{"id":102046959,"name":"coinfi","full_name":"coinfi/coinfi","owner":{"login":"coinfi","id":31571310,"avatar_url":"https://avatars3.githubusercontent.com/u/31571310?v=4","gravatar_id":"","url":"https://api.github.com/users/coinfi","html_url":"https://github.com/coinfi","followers_url":"https://api.github.com/users/coinfi/followers","following_url":"https://api.github.com/users/coinfi/following{/other_user}","gists_url":"https://api.github.com/users/coinfi/gists{/gist_id}","starred_url":"https://api.github.com/users/coinfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coinfi/subscriptions","organizations_url":"https://api.github.com/users/coinfi/orgs","repos_url":"https://api.github.com/users/coinfi/repos","events_url":"https://api.github.com/users/coinfi/events{/privacy}","received_events_url":"https://api.github.com/users/coinfi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coinfi/coinfi","description":"CoinFi is the cryptocurrency market intelligence platform.","fork":false,"url":"https://api.github.com/repos/coinfi/coinfi","forks_url":"https://api.github.com/repos/coinfi/coinfi/forks","keys_url":"https://api.github.com/repos/coinfi/coinfi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coinfi/coinfi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coinfi/coinfi/teams","hooks_url":"https://api.github.com/repos/coinfi/coinfi/hooks","issue_events_url":"https://api.github.com/repos/coinfi/coinfi/issues/events{/number}","events_url":"https://api.github.com/repos/coinfi/coinfi/events","assignees_url":"https://api.github.com/repos/coinfi/coinfi/assignees{/user}","branches_url":"https://api.github.com/repos/coinfi/coinfi/branches{/branch}","tags_url":"https://api.github.com/repos/coinfi/coinfi/tags","blobs_url":"https://api.github.com/repos/coinfi/coinfi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coinfi/coinfi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coinfi/coinfi/git/refs{/sha}","trees_url":"https://api.github.com/repos/coinfi/coinfi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coinfi/coinfi/statuses/{sha}","languages_url":"https://api.github.com/repos/coinfi/coinfi/languages","stargazers_url":"https://api.github.com/repos/coinfi/coinfi/stargazers","contributors_url":"https://api.github.com/repos/coinfi/coinfi/contributors","subscribers_url":"https://api.github.com/repos/coinfi/coinfi/subscribers","subscription_url":"https://api.github.com/repos/coinfi/coinfi/subscription","commits_url":"https://api.github.com/repos/coinfi/coinfi/commits{/sha}","git_commits_url":"https://api.github.com/repos/coinfi/coinfi/git/commits{/sha}","comments_url":"https://api.github.com/repos/coinfi/coinfi/comments{/number}","issue_comment_url":"https://api.github.com/repos/coinfi/coinfi/issues/comments{/number}","contents_url":"https://api.github.com/repos/coinfi/coinfi/contents/{+path}","compare_url":"https://api.github.com/repos/coinfi/coinfi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coinfi/coinfi/merges","archive_url":"https://api.github.com/repos/coinfi/coinfi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coinfi/coinfi/downloads","issues_url":"https://api.github.com/repos/coinfi/coinfi/issues{/number}","pulls_url":"https://api.github.com/repos/coinfi/coinfi/pulls{/number}","milestones_url":"https://api.github.com/repos/coinfi/coinfi/milestones{/number}","notifications_url":"https://api.github.com/repos/coinfi/coinfi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coinfi/coinfi/labels{/name}","releases_url":"https://api.github.com/repos/coinfi/coinfi/releases{/id}","deployments_url":"https://api.github.com/repos/coinfi/coinfi/deployments","created_at":"2017-08-31T21:28:02Z","updated_at":"2018-03-25T08:38:08Z","pushed_at":"2018-03-26T09:54:26Z","git_url":"git://github.com/coinfi/coinfi.git","ssh_url":"git@github.com:coinfi/coinfi.git","clone_url":"https://github.com/coinfi/coinfi.git","svn_url":"https://github.com/coinfi/coinfi","homepage":"https://www.coinfi.com","size":109862,"stargazers_count":30,"watchers_count":30,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":7,"open_issues":5,"watchers":30,"default_branch":"master"}},"base":{"label":"coinfi:master","ref":"master","sha":"bce22c1c6ec99ca7471f8272c753442ac8fc5c50","user":{"login":"coinfi","id":31571310,"avatar_url":"https://avatars3.githubusercontent.com/u/31571310?v=4","gravatar_id":"","url":"https://api.github.com/users/coinfi","html_url":"https://github.com/coinfi","followers_url":"https://api.github.com/users/coinfi/followers","following_url":"https://api.github.com/users/coinfi/following{/other_user}","gists_url":"https://api.github.com/users/coinfi/gists{/gist_id}","starred_url":"https://api.github.com/users/coinfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coinfi/subscriptions","organizations_url":"https://api.github.com/users/coinfi/orgs","repos_url":"https://api.github.com/users/coinfi/repos","events_url":"https://api.github.com/users/coinfi/events{/privacy}","received_events_url":"https://api.github.com/users/coinfi/received_events","type":"Organization","site_admin":false},"repo":{"id":102046959,"name":"coinfi","full_name":"coinfi/coinfi","owner":{"login":"coinfi","id":31571310,"avatar_url":"https://avatars3.githubusercontent.com/u/31571310?v=4","gravatar_id":"","url":"https://api.github.com/users/coinfi","html_url":"https://github.com/coinfi","followers_url":"https://api.github.com/users/coinfi/followers","following_url":"https://api.github.com/users/coinfi/following{/other_user}","gists_url":"https://api.github.com/users/coinfi/gists{/gist_id}","starred_url":"https://api.github.com/users/coinfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coinfi/subscriptions","organizations_url":"https://api.github.com/users/coinfi/orgs","repos_url":"https://api.github.com/users/coinfi/repos","events_url":"https://api.github.com/users/coinfi/events{/privacy}","received_events_url":"https://api.github.com/users/coinfi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coinfi/coinfi","description":"CoinFi is the cryptocurrency market intelligence platform.","fork":false,"url":"https://api.github.com/repos/coinfi/coinfi","forks_url":"https://api.github.com/repos/coinfi/coinfi/forks","keys_url":"https://api.github.com/repos/coinfi/coinfi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coinfi/coinfi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coinfi/coinfi/teams","hooks_url":"https://api.github.com/repos/coinfi/coinfi/hooks","issue_events_url":"https://api.github.com/repos/coinfi/coinfi/issues/events{/number}","events_url":"https://api.github.com/repos/coinfi/coinfi/events","assignees_url":"https://api.github.com/repos/coinfi/coinfi/assignees{/user}","branches_url":"https://api.github.com/repos/coinfi/coinfi/branches{/branch}","tags_url":"https://api.github.com/repos/coinfi/coinfi/tags","blobs_url":"https://api.github.com/repos/coinfi/coinfi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coinfi/coinfi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coinfi/coinfi/git/refs{/sha}","trees_url":"https://api.github.com/repos/coinfi/coinfi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coinfi/coinfi/statuses/{sha}","languages_url":"https://api.github.com/repos/coinfi/coinfi/languages","stargazers_url":"https://api.github.com/repos/coinfi/coinfi/stargazers","contributors_url":"https://api.github.com/repos/coinfi/coinfi/contributors","subscribers_url":"https://api.github.com/repos/coinfi/coinfi/subscribers","subscription_url":"https://api.github.com/repos/coinfi/coinfi/subscription","commits_url":"https://api.github.com/repos/coinfi/coinfi/commits{/sha}","git_commits_url":"https://api.github.com/repos/coinfi/coinfi/git/commits{/sha}","comments_url":"https://api.github.com/repos/coinfi/coinfi/comments{/number}","issue_comment_url":"https://api.github.com/repos/coinfi/coinfi/issues/comments{/number}","contents_url":"https://api.github.com/repos/coinfi/coinfi/contents/{+path}","compare_url":"https://api.github.com/repos/coinfi/coinfi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coinfi/coinfi/merges","archive_url":"https://api.github.com/repos/coinfi/coinfi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coinfi/coinfi/downloads","issues_url":"https://api.github.com/repos/coinfi/coinfi/issues{/number}","pulls_url":"https://api.github.com/repos/coinfi/coinfi/pulls{/number}","milestones_url":"https://api.github.com/repos/coinfi/coinfi/milestones{/number}","notifications_url":"https://api.github.com/repos/coinfi/coinfi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coinfi/coinfi/labels{/name}","releases_url":"https://api.github.com/repos/coinfi/coinfi/releases{/id}","deployments_url":"https://api.github.com/repos/coinfi/coinfi/deployments","created_at":"2017-08-31T21:28:02Z","updated_at":"2018-03-25T08:38:08Z","pushed_at":"2018-03-26T09:54:26Z","git_url":"git://github.com/coinfi/coinfi.git","ssh_url":"git@github.com:coinfi/coinfi.git","clone_url":"https://github.com/coinfi/coinfi.git","svn_url":"https://github.com/coinfi/coinfi","homepage":"https://www.coinfi.com","size":109862,"stargazers_count":30,"watchers_count":30,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":7,"open_issues":5,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coinfi/coinfi/pulls/28"},"html":{"href":"https://github.com/coinfi/coinfi/pull/28"},"issue":{"href":"https://api.github.com/repos/coinfi/coinfi/issues/28"},"comments":{"href":"https://api.github.com/repos/coinfi/coinfi/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/coinfi/coinfi/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/coinfi/coinfi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coinfi/coinfi/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/coinfi/coinfi/statuses/0211433978655d90d941bcb11ebf4892b48e3438"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"cheeseweasel"}}