{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/59756752","id":59756752,"diff_hunk":"@@ -133,11 +134,12 @@ def create_current(environment = env)\n       def drop(*arguments)\n         configuration = arguments.first\n         class_for_adapter(configuration['adapter']).new(*arguments).drop\n+        $stdout.puts \"Drop database '#{configuration['database']}'\"","path":"activerecord/lib/active_record/tasks/database_tasks.rb","position":15,"original_position":15,"commit_id":"2dfd73082ee4dc2cdf9715d8bb2f036f4234d717","original_commit_id":"2dfd73082ee4dc2cdf9715d8bb2f036f4234d717","user":{"login":"maclover7","id":3020626,"avatar_url":"https://avatars.githubusercontent.com/u/3020626?v=3","gravatar_id":"","url":"https://api.github.com/users/maclover7","html_url":"https://github.com/maclover7","followers_url":"https://api.github.com/users/maclover7/followers","following_url":"https://api.github.com/users/maclover7/following{/other_user}","gists_url":"https://api.github.com/users/maclover7/gists{/gist_id}","starred_url":"https://api.github.com/users/maclover7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclover7/subscriptions","organizations_url":"https://api.github.com/users/maclover7/orgs","repos_url":"https://api.github.com/users/maclover7/repos","events_url":"https://api.github.com/users/maclover7/events{/privacy}","received_events_url":"https://api.github.com/users/maclover7/received_events","type":"User","site_admin":false},"body":"Drop --> Dropped","created_at":"2016-04-14T17:24:27Z","updated_at":"2016-04-14T17:24:27Z","html_url":"https://github.com/rails/rails/pull/24551#discussion_r59756752","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/24551","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/59756752"},"html":{"href":"https://github.com/rails/rails/pull/24551#discussion_r59756752"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/24551"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/24551","id":66487819,"html_url":"https://github.com/rails/rails/pull/24551","diff_url":"https://github.com/rails/rails/pull/24551.diff","patch_url":"https://github.com/rails/rails/pull/24551.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/24551","number":24551,"state":"open","locked":false,"title":"add notice for tasks db:create, db:drop","user":{"login":"bogdanvlviv","id":6443532,"avatar_url":"https://avatars.githubusercontent.com/u/6443532?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanvlviv","html_url":"https://github.com/bogdanvlviv","followers_url":"https://api.github.com/users/bogdanvlviv/followers","following_url":"https://api.github.com/users/bogdanvlviv/following{/other_user}","gists_url":"https://api.github.com/users/bogdanvlviv/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanvlviv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanvlviv/subscriptions","organizations_url":"https://api.github.com/users/bogdanvlviv/orgs","repos_url":"https://api.github.com/users/bogdanvlviv/repos","events_url":"https://api.github.com/users/bogdanvlviv/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanvlviv/received_events","type":"User","site_admin":false},"body":"Added notice when database successfully created or dropped.\r\n\r\n```\r\n$ bin/rails db:create\r\nCreate database 'blog_development'\r\nCreate database 'blog_test'\r\n```\r\n\r\n```\r\n$ bin/rails db:drop\r\nDrop database 'blog_development'\r\nDrop database 'blog_test'\r\n```\r\n\r\nChanged older notices\r\n`blog_development  already exists` to `Database 'blog_development' already exists`\r\nand\r\n`Couldn't drop blog_development` to `Couldn't drop database 'blog_development'`","created_at":"2016-04-14T13:54:48Z","updated_at":"2016-04-14T17:24:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b9134170f34f64bce3b0c2245cb1cbc9b191ece","assignee":{"login":"pixeltrix","id":6321,"avatar_url":"https://avatars.githubusercontent.com/u/6321?v=3","gravatar_id":"","url":"https://api.github.com/users/pixeltrix","html_url":"https://github.com/pixeltrix","followers_url":"https://api.github.com/users/pixeltrix/followers","following_url":"https://api.github.com/users/pixeltrix/following{/other_user}","gists_url":"https://api.github.com/users/pixeltrix/gists{/gist_id}","starred_url":"https://api.github.com/users/pixeltrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixeltrix/subscriptions","organizations_url":"https://api.github.com/users/pixeltrix/orgs","repos_url":"https://api.github.com/users/pixeltrix/repos","events_url":"https://api.github.com/users/pixeltrix/events{/privacy}","received_events_url":"https://api.github.com/users/pixeltrix/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/24551/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/24551/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/24551/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/2dfd73082ee4dc2cdf9715d8bb2f036f4234d717","head":{"label":"bogdanvlviv:notice_for_tasks","ref":"notice_for_tasks","sha":"2dfd73082ee4dc2cdf9715d8bb2f036f4234d717","user":{"login":"bogdanvlviv","id":6443532,"avatar_url":"https://avatars.githubusercontent.com/u/6443532?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanvlviv","html_url":"https://github.com/bogdanvlviv","followers_url":"https://api.github.com/users/bogdanvlviv/followers","following_url":"https://api.github.com/users/bogdanvlviv/following{/other_user}","gists_url":"https://api.github.com/users/bogdanvlviv/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanvlviv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanvlviv/subscriptions","organizations_url":"https://api.github.com/users/bogdanvlviv/orgs","repos_url":"https://api.github.com/users/bogdanvlviv/repos","events_url":"https://api.github.com/users/bogdanvlviv/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanvlviv/received_events","type":"User","site_admin":false},"repo":{"id":54744114,"name":"rails","full_name":"bogdanvlviv/rails","owner":{"login":"bogdanvlviv","id":6443532,"avatar_url":"https://avatars.githubusercontent.com/u/6443532?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanvlviv","html_url":"https://github.com/bogdanvlviv","followers_url":"https://api.github.com/users/bogdanvlviv/followers","following_url":"https://api.github.com/users/bogdanvlviv/following{/other_user}","gists_url":"https://api.github.com/users/bogdanvlviv/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanvlviv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanvlviv/subscriptions","organizations_url":"https://api.github.com/users/bogdanvlviv/orgs","repos_url":"https://api.github.com/users/bogdanvlviv/repos","events_url":"https://api.github.com/users/bogdanvlviv/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanvlviv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bogdanvlviv/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/bogdanvlviv/rails","forks_url":"https://api.github.com/repos/bogdanvlviv/rails/forks","keys_url":"https://api.github.com/repos/bogdanvlviv/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bogdanvlviv/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bogdanvlviv/rails/teams","hooks_url":"https://api.github.com/repos/bogdanvlviv/rails/hooks","issue_events_url":"https://api.github.com/repos/bogdanvlviv/rails/issues/events{/number}","events_url":"https://api.github.com/repos/bogdanvlviv/rails/events","assignees_url":"https://api.github.com/repos/bogdanvlviv/rails/assignees{/user}","branches_url":"https://api.github.com/repos/bogdanvlviv/rails/branches{/branch}","tags_url":"https://api.github.com/repos/bogdanvlviv/rails/tags","blobs_url":"https://api.github.com/repos/bogdanvlviv/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bogdanvlviv/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bogdanvlviv/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/bogdanvlviv/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bogdanvlviv/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/bogdanvlviv/rails/languages","stargazers_url":"https://api.github.com/repos/bogdanvlviv/rails/stargazers","contributors_url":"https://api.github.com/repos/bogdanvlviv/rails/contributors","subscribers_url":"https://api.github.com/repos/bogdanvlviv/rails/subscribers","subscription_url":"https://api.github.com/repos/bogdanvlviv/rails/subscription","commits_url":"https://api.github.com/repos/bogdanvlviv/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/bogdanvlviv/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/bogdanvlviv/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/bogdanvlviv/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/bogdanvlviv/rails/contents/{+path}","compare_url":"https://api.github.com/repos/bogdanvlviv/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bogdanvlviv/rails/merges","archive_url":"https://api.github.com/repos/bogdanvlviv/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bogdanvlviv/rails/downloads","issues_url":"https://api.github.com/repos/bogdanvlviv/rails/issues{/number}","pulls_url":"https://api.github.com/repos/bogdanvlviv/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/bogdanvlviv/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/bogdanvlviv/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bogdanvlviv/rails/labels{/name}","releases_url":"https://api.github.com/repos/bogdanvlviv/rails/releases{/id}","deployments_url":"https://api.github.com/repos/bogdanvlviv/rails/deployments","created_at":"2016-03-25T19:54:02Z","updated_at":"2016-03-25T19:55:12Z","pushed_at":"2016-04-14T13:38:17Z","git_url":"git://github.com/bogdanvlviv/rails.git","ssh_url":"git@github.com:bogdanvlviv/rails.git","clone_url":"https://github.com/bogdanvlviv/rails.git","svn_url":"https://github.com/bogdanvlviv/rails","homepage":"http://rubyonrails.org","size":129907,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rails:master","ref":"master","sha":"91798c75bc56fa706c9ed4a8dab6020462463a10","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","deployments_url":"https://api.github.com/repos/rails/rails/deployments","created_at":"2008-04-11T02:19:47Z","updated_at":"2016-04-14T15:18:47Z","pushed_at":"2016-04-14T15:57:49Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":331293,"stargazers_count":30633,"watchers_count":30633,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12439,"mirror_url":null,"open_issues_count":932,"forks":12439,"open_issues":932,"watchers":30633,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/24551"},"html":{"href":"https://github.com/rails/rails/pull/24551"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/24551"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/24551/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/24551/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/24551/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/2dfd73082ee4dc2cdf9715d8bb2f036f4234d717"}}}}