{"action":"created","comment":{"url":"https://api.github.com/repos/ppy/osu-web/pulls/comments/67803232","id":67803232,"diff_hunk":"@@ -0,0 +1,26 @@\n+<?php\n+\n+use Illuminate\\Database\\Seeder;\n+use Carbon\\Carbon;\n+\n+class BanchoStatsSeeder extends Seeder\n+{\n+    /**\n+     * Run the database seeds.\n+     *\n+     * @return void\n+     */\n+    public function run()\n+    {\n+        $date = new Carbon();\n+\n+        //Create 500 new data points\n+        factory(App\\Models\\BanchoStats::class, 500)->create()->each(function ($stat) use ($date) {\n+            $stat->date = $date;\n+            $stat->save();\n+\n+            //Increment the dates by 5 each time\n+            $date = $date->addMinutes(5);","path":"database/seeds/ModelSeeders/BanchoStatsSeeder.php","position":23,"original_position":23,"commit_id":"3cf7ff301698e460a6bfe71bd8e5ad9d2e77afc7","original_commit_id":"3cf7ff301698e460a6bfe71bd8e5ad9d2e77afc7","user":{"login":"nanaya","id":276295,"avatar_url":"https://avatars.githubusercontent.com/u/276295?v=3","gravatar_id":"","url":"https://api.github.com/users/nanaya","html_url":"https://github.com/nanaya","followers_url":"https://api.github.com/users/nanaya/followers","following_url":"https://api.github.com/users/nanaya/following{/other_user}","gists_url":"https://api.github.com/users/nanaya/gists{/gist_id}","starred_url":"https://api.github.com/users/nanaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanaya/subscriptions","organizations_url":"https://api.github.com/users/nanaya/orgs","repos_url":"https://api.github.com/users/nanaya/repos","events_url":"https://api.github.com/users/nanaya/events{/privacy}","received_events_url":"https://api.github.com/users/nanaya/received_events","type":"User","site_admin":false},"body":"`addMinutes` changes the object itself, no need to assign.","created_at":"2016-06-21T03:31:19Z","updated_at":"2016-06-21T03:31:19Z","html_url":"https://github.com/ppy/osu-web/pull/611#discussion_r67803232","pull_request_url":"https://api.github.com/repos/ppy/osu-web/pulls/611","_links":{"self":{"href":"https://api.github.com/repos/ppy/osu-web/pulls/comments/67803232"},"html":{"href":"https://github.com/ppy/osu-web/pull/611#discussion_r67803232"},"pull_request":{"href":"https://api.github.com/repos/ppy/osu-web/pulls/611"}}},"pull_request":{"url":"https://api.github.com/repos/ppy/osu-web/pulls/611","id":74459817,"html_url":"https://github.com/ppy/osu-web/pull/611","diff_url":"https://github.com/ppy/osu-web/pull/611.diff","patch_url":"https://github.com/ppy/osu-web/pull/611.patch","issue_url":"https://api.github.com/repos/ppy/osu-web/issues/611","number":611,"state":"open","locked":false,"title":"BanchoStats and Count models","user":{"login":"RedbackThomson","id":1841682,"avatar_url":"https://avatars.githubusercontent.com/u/1841682?v=3","gravatar_id":"","url":"https://api.github.com/users/RedbackThomson","html_url":"https://github.com/RedbackThomson","followers_url":"https://api.github.com/users/RedbackThomson/followers","following_url":"https://api.github.com/users/RedbackThomson/following{/other_user}","gists_url":"https://api.github.com/users/RedbackThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/RedbackThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedbackThomson/subscriptions","organizations_url":"https://api.github.com/users/RedbackThomson/orgs","repos_url":"https://api.github.com/users/RedbackThomson/repos","events_url":"https://api.github.com/users/RedbackThomson/events{/privacy}","received_events_url":"https://api.github.com/users/RedbackThomson/received_events","type":"User","site_admin":false},"body":"Added the BanchoStats model and added the UserCount count to the Count model. Both of these are necessary for me to work on the status page. ","created_at":"2016-06-20T15:11:44Z","updated_at":"2016-06-21T03:31:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1faba3928614b46a338cb582291fbe65ae37f38a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ppy/osu-web/pulls/611/commits","review_comments_url":"https://api.github.com/repos/ppy/osu-web/pulls/611/comments","review_comment_url":"https://api.github.com/repos/ppy/osu-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ppy/osu-web/issues/611/comments","statuses_url":"https://api.github.com/repos/ppy/osu-web/statuses/3cf7ff301698e460a6bfe71bd8e5ad9d2e77afc7","head":{"label":"RedbackThomson:user-count","ref":"user-count","sha":"3cf7ff301698e460a6bfe71bd8e5ad9d2e77afc7","user":{"login":"RedbackThomson","id":1841682,"avatar_url":"https://avatars.githubusercontent.com/u/1841682?v=3","gravatar_id":"","url":"https://api.github.com/users/RedbackThomson","html_url":"https://github.com/RedbackThomson","followers_url":"https://api.github.com/users/RedbackThomson/followers","following_url":"https://api.github.com/users/RedbackThomson/following{/other_user}","gists_url":"https://api.github.com/users/RedbackThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/RedbackThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedbackThomson/subscriptions","organizations_url":"https://api.github.com/users/RedbackThomson/orgs","repos_url":"https://api.github.com/users/RedbackThomson/repos","events_url":"https://api.github.com/users/RedbackThomson/events{/privacy}","received_events_url":"https://api.github.com/users/RedbackThomson/received_events","type":"User","site_admin":false},"repo":{"id":61554449,"name":"osu-web","full_name":"RedbackThomson/osu-web","owner":{"login":"RedbackThomson","id":1841682,"avatar_url":"https://avatars.githubusercontent.com/u/1841682?v=3","gravatar_id":"","url":"https://api.github.com/users/RedbackThomson","html_url":"https://github.com/RedbackThomson","followers_url":"https://api.github.com/users/RedbackThomson/followers","following_url":"https://api.github.com/users/RedbackThomson/following{/other_user}","gists_url":"https://api.github.com/users/RedbackThomson/gists{/gist_id}","starred_url":"https://api.github.com/users/RedbackThomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedbackThomson/subscriptions","organizations_url":"https://api.github.com/users/RedbackThomson/orgs","repos_url":"https://api.github.com/users/RedbackThomson/repos","events_url":"https://api.github.com/users/RedbackThomson/events{/privacy}","received_events_url":"https://api.github.com/users/RedbackThomson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RedbackThomson/osu-web","description":"the future face of osu!","fork":true,"url":"https://api.github.com/repos/RedbackThomson/osu-web","forks_url":"https://api.github.com/repos/RedbackThomson/osu-web/forks","keys_url":"https://api.github.com/repos/RedbackThomson/osu-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RedbackThomson/osu-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RedbackThomson/osu-web/teams","hooks_url":"https://api.github.com/repos/RedbackThomson/osu-web/hooks","issue_events_url":"https://api.github.com/repos/RedbackThomson/osu-web/issues/events{/number}","events_url":"https://api.github.com/repos/RedbackThomson/osu-web/events","assignees_url":"https://api.github.com/repos/RedbackThomson/osu-web/assignees{/user}","branches_url":"https://api.github.com/repos/RedbackThomson/osu-web/branches{/branch}","tags_url":"https://api.github.com/repos/RedbackThomson/osu-web/tags","blobs_url":"https://api.github.com/repos/RedbackThomson/osu-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RedbackThomson/osu-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RedbackThomson/osu-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/RedbackThomson/osu-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RedbackThomson/osu-web/statuses/{sha}","languages_url":"https://api.github.com/repos/RedbackThomson/osu-web/languages","stargazers_url":"https://api.github.com/repos/RedbackThomson/osu-web/stargazers","contributors_url":"https://api.github.com/repos/RedbackThomson/osu-web/contributors","subscribers_url":"https://api.github.com/repos/RedbackThomson/osu-web/subscribers","subscription_url":"https://api.github.com/repos/RedbackThomson/osu-web/subscription","commits_url":"https://api.github.com/repos/RedbackThomson/osu-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/RedbackThomson/osu-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/RedbackThomson/osu-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/RedbackThomson/osu-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/RedbackThomson/osu-web/contents/{+path}","compare_url":"https://api.github.com/repos/RedbackThomson/osu-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RedbackThomson/osu-web/merges","archive_url":"https://api.github.com/repos/RedbackThomson/osu-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RedbackThomson/osu-web/downloads","issues_url":"https://api.github.com/repos/RedbackThomson/osu-web/issues{/number}","pulls_url":"https://api.github.com/repos/RedbackThomson/osu-web/pulls{/number}","milestones_url":"https://api.github.com/repos/RedbackThomson/osu-web/milestones{/number}","notifications_url":"https://api.github.com/repos/RedbackThomson/osu-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RedbackThomson/osu-web/labels{/name}","releases_url":"https://api.github.com/repos/RedbackThomson/osu-web/releases{/id}","deployments_url":"https://api.github.com/repos/RedbackThomson/osu-web/deployments","created_at":"2016-06-20T14:35:16Z","updated_at":"2016-06-20T14:35:19Z","pushed_at":"2016-06-20T15:12:55Z","git_url":"git://github.com/RedbackThomson/osu-web.git","ssh_url":"git@github.com:RedbackThomson/osu-web.git","clone_url":"https://github.com/RedbackThomson/osu-web.git","svn_url":"https://github.com/RedbackThomson/osu-web","homepage":null,"size":22991,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"ppy:master","ref":"master","sha":"3c0f215d9e202b0fc3dc5bd28c3015a41ccb0ebb","user":{"login":"ppy","id":995763,"avatar_url":"https://avatars.githubusercontent.com/u/995763?v=3","gravatar_id":"","url":"https://api.github.com/users/ppy","html_url":"https://github.com/ppy","followers_url":"https://api.github.com/users/ppy/followers","following_url":"https://api.github.com/users/ppy/following{/other_user}","gists_url":"https://api.github.com/users/ppy/gists{/gist_id}","starred_url":"https://api.github.com/users/ppy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppy/subscriptions","organizations_url":"https://api.github.com/users/ppy/orgs","repos_url":"https://api.github.com/users/ppy/repos","events_url":"https://api.github.com/users/ppy/events{/privacy}","received_events_url":"https://api.github.com/users/ppy/received_events","type":"Organization","site_admin":false},"repo":{"id":41410580,"name":"osu-web","full_name":"ppy/osu-web","owner":{"login":"ppy","id":995763,"avatar_url":"https://avatars.githubusercontent.com/u/995763?v=3","gravatar_id":"","url":"https://api.github.com/users/ppy","html_url":"https://github.com/ppy","followers_url":"https://api.github.com/users/ppy/followers","following_url":"https://api.github.com/users/ppy/following{/other_user}","gists_url":"https://api.github.com/users/ppy/gists{/gist_id}","starred_url":"https://api.github.com/users/ppy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppy/subscriptions","organizations_url":"https://api.github.com/users/ppy/orgs","repos_url":"https://api.github.com/users/ppy/repos","events_url":"https://api.github.com/users/ppy/events{/privacy}","received_events_url":"https://api.github.com/users/ppy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ppy/osu-web","description":"the future face of osu!","fork":false,"url":"https://api.github.com/repos/ppy/osu-web","forks_url":"https://api.github.com/repos/ppy/osu-web/forks","keys_url":"https://api.github.com/repos/ppy/osu-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppy/osu-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppy/osu-web/teams","hooks_url":"https://api.github.com/repos/ppy/osu-web/hooks","issue_events_url":"https://api.github.com/repos/ppy/osu-web/issues/events{/number}","events_url":"https://api.github.com/repos/ppy/osu-web/events","assignees_url":"https://api.github.com/repos/ppy/osu-web/assignees{/user}","branches_url":"https://api.github.com/repos/ppy/osu-web/branches{/branch}","tags_url":"https://api.github.com/repos/ppy/osu-web/tags","blobs_url":"https://api.github.com/repos/ppy/osu-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppy/osu-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppy/osu-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppy/osu-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppy/osu-web/statuses/{sha}","languages_url":"https://api.github.com/repos/ppy/osu-web/languages","stargazers_url":"https://api.github.com/repos/ppy/osu-web/stargazers","contributors_url":"https://api.github.com/repos/ppy/osu-web/contributors","subscribers_url":"https://api.github.com/repos/ppy/osu-web/subscribers","subscription_url":"https://api.github.com/repos/ppy/osu-web/subscription","commits_url":"https://api.github.com/repos/ppy/osu-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppy/osu-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppy/osu-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppy/osu-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppy/osu-web/contents/{+path}","compare_url":"https://api.github.com/repos/ppy/osu-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppy/osu-web/merges","archive_url":"https://api.github.com/repos/ppy/osu-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppy/osu-web/downloads","issues_url":"https://api.github.com/repos/ppy/osu-web/issues{/number}","pulls_url":"https://api.github.com/repos/ppy/osu-web/pulls{/number}","milestones_url":"https://api.github.com/repos/ppy/osu-web/milestones{/number}","notifications_url":"https://api.github.com/repos/ppy/osu-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppy/osu-web/labels{/name}","releases_url":"https://api.github.com/repos/ppy/osu-web/releases{/id}","deployments_url":"https://api.github.com/repos/ppy/osu-web/deployments","created_at":"2015-08-26T07:14:32Z","updated_at":"2016-06-20T21:19:05Z","pushed_at":"2016-06-20T15:31:40Z","git_url":"git://github.com/ppy/osu-web.git","ssh_url":"git@github.com:ppy/osu-web.git","clone_url":"https://github.com/ppy/osu-web.git","svn_url":"https://github.com/ppy/osu-web","homepage":null,"size":25860,"stargazers_count":189,"watchers_count":189,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":83,"forks":71,"open_issues":83,"watchers":189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ppy/osu-web/pulls/611"},"html":{"href":"https://github.com/ppy/osu-web/pull/611"},"issue":{"href":"https://api.github.com/repos/ppy/osu-web/issues/611"},"comments":{"href":"https://api.github.com/repos/ppy/osu-web/issues/611/comments"},"review_comments":{"href":"https://api.github.com/repos/ppy/osu-web/pulls/611/comments"},"review_comment":{"href":"https://api.github.com/repos/ppy/osu-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ppy/osu-web/pulls/611/commits"},"statuses":{"href":"https://api.github.com/repos/ppy/osu-web/statuses/3cf7ff301698e460a6bfe71bd8e5ad9d2e77afc7"}}}}
{"actor":{"display_login":"nanaya"}}