{"action":"created","comment":{"url":"https://api.github.com/repos/walktan/hitsstream/pulls/comments/75573350","id":75573350,"diff_hunk":"@@ -11,62 +11,71 @@\n #\n # It's strongly recommended that you check this file into your version control system.\n \n-ActiveRecord::Schema.define(version: 20160804071740) do\n+ActiveRecord::Schema.define(version: 20_160_819_080_131) do\n \n   # These are extensions that must be enabled in order to support this database\n-  enable_extension \"plpgsql\"\n+  enable_extension 'plpgsql'\n \n-  create_table \"mst_dates\", force: :cascade do |t|\n-    t.date     \"this_date\"\n-    t.datetime \"created_at\", null: false\n-    t.datetime \"updated_at\", null: false\n+  create_table 'aggregate_dates', primary_key: 'aggregate_date_id' \\\n+                                , force: :cascade do |t|\n+    t.date     'this_date'\n+    t.datetime 'created_at', null: false\n+    t.datetime 'updated_at', null: false\n   end\n \n-  create_table \"mst_genres\", force: :cascade do |t|\n-    t.string   \"name\"\n-    t.string   \"itunes_url\"\n-    t.datetime \"created_at\", null: false\n-    t.datetime \"updated_at\", null: false\n+  create_table 'daily_rankings', primary_key: 'daily_ranking_id' \\\n+                               ,force: :cascade do |t|\n+    t.integer  'rank'\n+    t.integer  'aggregate_date_id'\n+    t.integer  'itune_id'\n+    t.integer  'youtube_id'\n+    t.datetime 'created_at',        null: false\n+    t.datetime 'updated_at',        null: false\n   end\n \n-  create_table \"mst_musics\", force: :cascade do |t|\n-    t.string   \"title\"\n-    t.string   \"artist\"\n-    t.text     \"youtube_url\"\n-    t.datetime \"created_at\",  null: false\n-    t.datetime \"updated_at\",  null: false\n-  end\n+  add_index 'daily_rankings', ['aggregate_date_id'] \\\n+                            , name: 'index_daily_rankings_on_aggregate_date_id' \\","path":"db/schema.rb","position":45,"original_position":45,"commit_id":"a5c52676c168eb9234a26eed5c3dfc2d35ae3c3c","original_commit_id":"a5c52676c168eb9234a26eed5c3dfc2d35ae3c3c","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line is too long. [81/80]","created_at":"2016-08-20T05:58:20Z","updated_at":"2016-08-20T05:58:20Z","html_url":"https://github.com/walktan/hitsstream/pull/65#discussion_r75573350","pull_request_url":"https://api.github.com/repos/walktan/hitsstream/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/walktan/hitsstream/pulls/comments/75573350"},"html":{"href":"https://github.com/walktan/hitsstream/pull/65#discussion_r75573350"},"pull_request":{"href":"https://api.github.com/repos/walktan/hitsstream/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/walktan/hitsstream/pulls/65","id":82070217,"html_url":"https://github.com/walktan/hitsstream/pull/65","diff_url":"https://github.com/walktan/hitsstream/pull/65.diff","patch_url":"https://github.com/walktan/hitsstream/pull/65.patch","issue_url":"https://api.github.com/repos/walktan/hitsstream/issues/65","number":65,"state":"open","locked":false,"title":"Rename model -Fixed #52 -Fixed #54","user":{"login":"walktan","id":7344849,"avatar_url":"https://avatars.githubusercontent.com/u/7344849?v=3","gravatar_id":"","url":"https://api.github.com/users/walktan","html_url":"https://github.com/walktan","followers_url":"https://api.github.com/users/walktan/followers","following_url":"https://api.github.com/users/walktan/following{/other_user}","gists_url":"https://api.github.com/users/walktan/gists{/gist_id}","starred_url":"https://api.github.com/users/walktan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walktan/subscriptions","organizations_url":"https://api.github.com/users/walktan/orgs","repos_url":"https://api.github.com/users/walktan/repos","events_url":"https://api.github.com/users/walktan/events{/privacy}","received_events_url":"https://api.github.com/users/walktan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-20T05:58:13Z","updated_at":"2016-08-20T05:58:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be019928d5d027107cf88b5476b28476c38616ef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/walktan/hitsstream/pulls/65/commits","review_comments_url":"https://api.github.com/repos/walktan/hitsstream/pulls/65/comments","review_comment_url":"https://api.github.com/repos/walktan/hitsstream/pulls/comments{/number}","comments_url":"https://api.github.com/repos/walktan/hitsstream/issues/65/comments","statuses_url":"https://api.github.com/repos/walktan/hitsstream/statuses/a5c52676c168eb9234a26eed5c3dfc2d35ae3c3c","head":{"label":"walktan:issue-52_55","ref":"issue-52_55","sha":"a5c52676c168eb9234a26eed5c3dfc2d35ae3c3c","user":{"login":"walktan","id":7344849,"avatar_url":"https://avatars.githubusercontent.com/u/7344849?v=3","gravatar_id":"","url":"https://api.github.com/users/walktan","html_url":"https://github.com/walktan","followers_url":"https://api.github.com/users/walktan/followers","following_url":"https://api.github.com/users/walktan/following{/other_user}","gists_url":"https://api.github.com/users/walktan/gists{/gist_id}","starred_url":"https://api.github.com/users/walktan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walktan/subscriptions","organizations_url":"https://api.github.com/users/walktan/orgs","repos_url":"https://api.github.com/users/walktan/repos","events_url":"https://api.github.com/users/walktan/events{/privacy}","received_events_url":"https://api.github.com/users/walktan/received_events","type":"User","site_admin":false},"repo":{"id":57453410,"name":"hitsstream","full_name":"walktan/hitsstream","owner":{"login":"walktan","id":7344849,"avatar_url":"https://avatars.githubusercontent.com/u/7344849?v=3","gravatar_id":"","url":"https://api.github.com/users/walktan","html_url":"https://github.com/walktan","followers_url":"https://api.github.com/users/walktan/followers","following_url":"https://api.github.com/users/walktan/following{/other_user}","gists_url":"https://api.github.com/users/walktan/gists{/gist_id}","starred_url":"https://api.github.com/users/walktan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walktan/subscriptions","organizations_url":"https://api.github.com/users/walktan/orgs","repos_url":"https://api.github.com/users/walktan/repos","events_url":"https://api.github.com/users/walktan/events{/privacy}","received_events_url":"https://api.github.com/users/walktan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/walktan/hitsstream","description":"","fork":false,"url":"https://api.github.com/repos/walktan/hitsstream","forks_url":"https://api.github.com/repos/walktan/hitsstream/forks","keys_url":"https://api.github.com/repos/walktan/hitsstream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/walktan/hitsstream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/walktan/hitsstream/teams","hooks_url":"https://api.github.com/repos/walktan/hitsstream/hooks","issue_events_url":"https://api.github.com/repos/walktan/hitsstream/issues/events{/number}","events_url":"https://api.github.com/repos/walktan/hitsstream/events","assignees_url":"https://api.github.com/repos/walktan/hitsstream/assignees{/user}","branches_url":"https://api.github.com/repos/walktan/hitsstream/branches{/branch}","tags_url":"https://api.github.com/repos/walktan/hitsstream/tags","blobs_url":"https://api.github.com/repos/walktan/hitsstream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/walktan/hitsstream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/walktan/hitsstream/git/refs{/sha}","trees_url":"https://api.github.com/repos/walktan/hitsstream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/walktan/hitsstream/statuses/{sha}","languages_url":"https://api.github.com/repos/walktan/hitsstream/languages","stargazers_url":"https://api.github.com/repos/walktan/hitsstream/stargazers","contributors_url":"https://api.github.com/repos/walktan/hitsstream/contributors","subscribers_url":"https://api.github.com/repos/walktan/hitsstream/subscribers","subscription_url":"https://api.github.com/repos/walktan/hitsstream/subscription","commits_url":"https://api.github.com/repos/walktan/hitsstream/commits{/sha}","git_commits_url":"https://api.github.com/repos/walktan/hitsstream/git/commits{/sha}","comments_url":"https://api.github.com/repos/walktan/hitsstream/comments{/number}","issue_comment_url":"https://api.github.com/repos/walktan/hitsstream/issues/comments{/number}","contents_url":"https://api.github.com/repos/walktan/hitsstream/contents/{+path}","compare_url":"https://api.github.com/repos/walktan/hitsstream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/walktan/hitsstream/merges","archive_url":"https://api.github.com/repos/walktan/hitsstream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/walktan/hitsstream/downloads","issues_url":"https://api.github.com/repos/walktan/hitsstream/issues{/number}","pulls_url":"https://api.github.com/repos/walktan/hitsstream/pulls{/number}","milestones_url":"https://api.github.com/repos/walktan/hitsstream/milestones{/number}","notifications_url":"https://api.github.com/repos/walktan/hitsstream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/walktan/hitsstream/labels{/name}","releases_url":"https://api.github.com/repos/walktan/hitsstream/releases{/id}","deployments_url":"https://api.github.com/repos/walktan/hitsstream/deployments","created_at":"2016-04-30T17:14:53Z","updated_at":"2016-07-25T16:37:29Z","pushed_at":"2016-08-20T05:58:13Z","git_url":"git://github.com/walktan/hitsstream.git","ssh_url":"git@github.com:walktan/hitsstream.git","clone_url":"https://github.com/walktan/hitsstream.git","svn_url":"https://github.com/walktan/hitsstream","homepage":"http://www.hitsstream.xyz/","size":570,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"walktan:master","ref":"master","sha":"c286e1aa7d46c7150058e0fb2c7415e5272ab592","user":{"login":"walktan","id":7344849,"avatar_url":"https://avatars.githubusercontent.com/u/7344849?v=3","gravatar_id":"","url":"https://api.github.com/users/walktan","html_url":"https://github.com/walktan","followers_url":"https://api.github.com/users/walktan/followers","following_url":"https://api.github.com/users/walktan/following{/other_user}","gists_url":"https://api.github.com/users/walktan/gists{/gist_id}","starred_url":"https://api.github.com/users/walktan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walktan/subscriptions","organizations_url":"https://api.github.com/users/walktan/orgs","repos_url":"https://api.github.com/users/walktan/repos","events_url":"https://api.github.com/users/walktan/events{/privacy}","received_events_url":"https://api.github.com/users/walktan/received_events","type":"User","site_admin":false},"repo":{"id":57453410,"name":"hitsstream","full_name":"walktan/hitsstream","owner":{"login":"walktan","id":7344849,"avatar_url":"https://avatars.githubusercontent.com/u/7344849?v=3","gravatar_id":"","url":"https://api.github.com/users/walktan","html_url":"https://github.com/walktan","followers_url":"https://api.github.com/users/walktan/followers","following_url":"https://api.github.com/users/walktan/following{/other_user}","gists_url":"https://api.github.com/users/walktan/gists{/gist_id}","starred_url":"https://api.github.com/users/walktan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walktan/subscriptions","organizations_url":"https://api.github.com/users/walktan/orgs","repos_url":"https://api.github.com/users/walktan/repos","events_url":"https://api.github.com/users/walktan/events{/privacy}","received_events_url":"https://api.github.com/users/walktan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/walktan/hitsstream","description":"","fork":false,"url":"https://api.github.com/repos/walktan/hitsstream","forks_url":"https://api.github.com/repos/walktan/hitsstream/forks","keys_url":"https://api.github.com/repos/walktan/hitsstream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/walktan/hitsstream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/walktan/hitsstream/teams","hooks_url":"https://api.github.com/repos/walktan/hitsstream/hooks","issue_events_url":"https://api.github.com/repos/walktan/hitsstream/issues/events{/number}","events_url":"https://api.github.com/repos/walktan/hitsstream/events","assignees_url":"https://api.github.com/repos/walktan/hitsstream/assignees{/user}","branches_url":"https://api.github.com/repos/walktan/hitsstream/branches{/branch}","tags_url":"https://api.github.com/repos/walktan/hitsstream/tags","blobs_url":"https://api.github.com/repos/walktan/hitsstream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/walktan/hitsstream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/walktan/hitsstream/git/refs{/sha}","trees_url":"https://api.github.com/repos/walktan/hitsstream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/walktan/hitsstream/statuses/{sha}","languages_url":"https://api.github.com/repos/walktan/hitsstream/languages","stargazers_url":"https://api.github.com/repos/walktan/hitsstream/stargazers","contributors_url":"https://api.github.com/repos/walktan/hitsstream/contributors","subscribers_url":"https://api.github.com/repos/walktan/hitsstream/subscribers","subscription_url":"https://api.github.com/repos/walktan/hitsstream/subscription","commits_url":"https://api.github.com/repos/walktan/hitsstream/commits{/sha}","git_commits_url":"https://api.github.com/repos/walktan/hitsstream/git/commits{/sha}","comments_url":"https://api.github.com/repos/walktan/hitsstream/comments{/number}","issue_comment_url":"https://api.github.com/repos/walktan/hitsstream/issues/comments{/number}","contents_url":"https://api.github.com/repos/walktan/hitsstream/contents/{+path}","compare_url":"https://api.github.com/repos/walktan/hitsstream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/walktan/hitsstream/merges","archive_url":"https://api.github.com/repos/walktan/hitsstream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/walktan/hitsstream/downloads","issues_url":"https://api.github.com/repos/walktan/hitsstream/issues{/number}","pulls_url":"https://api.github.com/repos/walktan/hitsstream/pulls{/number}","milestones_url":"https://api.github.com/repos/walktan/hitsstream/milestones{/number}","notifications_url":"https://api.github.com/repos/walktan/hitsstream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/walktan/hitsstream/labels{/name}","releases_url":"https://api.github.com/repos/walktan/hitsstream/releases{/id}","deployments_url":"https://api.github.com/repos/walktan/hitsstream/deployments","created_at":"2016-04-30T17:14:53Z","updated_at":"2016-07-25T16:37:29Z","pushed_at":"2016-08-20T05:58:13Z","git_url":"git://github.com/walktan/hitsstream.git","ssh_url":"git@github.com:walktan/hitsstream.git","clone_url":"https://github.com/walktan/hitsstream.git","svn_url":"https://github.com/walktan/hitsstream","homepage":"http://www.hitsstream.xyz/","size":570,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/walktan/hitsstream/pulls/65"},"html":{"href":"https://github.com/walktan/hitsstream/pull/65"},"issue":{"href":"https://api.github.com/repos/walktan/hitsstream/issues/65"},"comments":{"href":"https://api.github.com/repos/walktan/hitsstream/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/walktan/hitsstream/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/walktan/hitsstream/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/walktan/hitsstream/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/walktan/hitsstream/statuses/a5c52676c168eb9234a26eed5c3dfc2d35ae3c3c"}}}}
{"actor":{"display_login":"houndci-bot"}}