{"action":"created","comment":{"url":"https://api.github.com/repos/bigbinary/wheel/pulls/comments/30472516","id":30472516,"diff_hunk":"@@ -4,12 +4,15 @@\n # Check doc/why_database_name_only_63_characters_long.md to see\n # details about the restriction on database name\n \n+# If you prefer to have branch name in the database name then use following\n+# database: <%= \"#{repository_name}_development_#{branch_name}\"[0...63] %>\n+\n development:\n   adapter: postgresql\n-  database: <%= \"#{repository_name}_development_#{branch_name}\"[0...63] %>\n+  database: <%= \"#{repository_name}_development\"[0...63] %>","path":"config/database.yml.postgresqlapp","position":10,"original_position":10,"commit_id":"e62536b892e26950fc3061413175b329fdac460a","original_commit_id":"e62536b892e26950fc3061413175b329fdac460a","user":{"login":"neerajdotname","id":6399,"avatar_url":"https://avatars.githubusercontent.com/u/6399?v=3","gravatar_id":"","url":"https://api.github.com/users/neerajdotname","html_url":"https://github.com/neerajdotname","followers_url":"https://api.github.com/users/neerajdotname/followers","following_url":"https://api.github.com/users/neerajdotname/following{/other_user}","gists_url":"https://api.github.com/users/neerajdotname/gists{/gist_id}","starred_url":"https://api.github.com/users/neerajdotname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neerajdotname/subscriptions","organizations_url":"https://api.github.com/users/neerajdotname/orgs","repos_url":"https://api.github.com/users/neerajdotname/repos","events_url":"https://api.github.com/users/neerajdotname/events{/privacy}","received_events_url":"https://api.github.com/users/neerajdotname/received_events","type":"User","site_admin":false},"body":"I would suggest to keep it. It does not do any harm and if the repo name is long then it fixes thing. ","created_at":"2015-05-17T17:35:50Z","updated_at":"2015-05-17T17:35:50Z","html_url":"https://github.com/bigbinary/wheel/pull/70#discussion_r30472516","pull_request_url":"https://api.github.com/repos/bigbinary/wheel/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/bigbinary/wheel/pulls/comments/30472516"},"html":{"href":"https://github.com/bigbinary/wheel/pull/70#discussion_r30472516"},"pull_request":{"href":"https://api.github.com/repos/bigbinary/wheel/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/bigbinary/wheel/pulls/70","id":35116243,"html_url":"https://github.com/bigbinary/wheel/pull/70","diff_url":"https://github.com/bigbinary/wheel/pull/70.diff","patch_url":"https://github.com/bigbinary/wheel/pull/70.patch","issue_url":"https://api.github.com/repos/bigbinary/wheel/issues/70","number":70,"state":"closed","locked":false,"title":"do not use branch name in db name","user":{"login":"neerajdotname","id":6399,"avatar_url":"https://avatars.githubusercontent.com/u/6399?v=3","gravatar_id":"","url":"https://api.github.com/users/neerajdotname","html_url":"https://github.com/neerajdotname","followers_url":"https://api.github.com/users/neerajdotname/followers","following_url":"https://api.github.com/users/neerajdotname/following{/other_user}","gists_url":"https://api.github.com/users/neerajdotname/gists{/gist_id}","starred_url":"https://api.github.com/users/neerajdotname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neerajdotname/subscriptions","organizations_url":"https://api.github.com/users/neerajdotname/orgs","repos_url":"https://api.github.com/users/neerajdotname/repos","events_url":"https://api.github.com/users/neerajdotname/events{/privacy}","received_events_url":"https://api.github.com/users/neerajdotname/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-11T10:50:18Z","updated_at":"2015-05-17T17:35:50Z","closed_at":"2015-05-17T14:35:31Z","merged_at":"2015-05-17T14:35:31Z","merge_commit_sha":"f360ad706234eb496cc1b93414c622812d2dd595","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bigbinary/wheel/pulls/70/commits","review_comments_url":"https://api.github.com/repos/bigbinary/wheel/pulls/70/comments","review_comment_url":"https://api.github.com/repos/bigbinary/wheel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bigbinary/wheel/issues/70/comments","statuses_url":"https://api.github.com/repos/bigbinary/wheel/statuses/e62536b892e26950fc3061413175b329fdac460a","head":{"label":"bigbinary:do-not-use-branch-name-in-dbname","ref":"do-not-use-branch-name-in-dbname","sha":"e62536b892e26950fc3061413175b329fdac460a","user":{"login":"bigbinary","id":780670,"avatar_url":"https://avatars.githubusercontent.com/u/780670?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbinary","html_url":"https://github.com/bigbinary","followers_url":"https://api.github.com/users/bigbinary/followers","following_url":"https://api.github.com/users/bigbinary/following{/other_user}","gists_url":"https://api.github.com/users/bigbinary/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbinary/subscriptions","organizations_url":"https://api.github.com/users/bigbinary/orgs","repos_url":"https://api.github.com/users/bigbinary/repos","events_url":"https://api.github.com/users/bigbinary/events{/privacy}","received_events_url":"https://api.github.com/users/bigbinary/received_events","type":"Organization","site_admin":false},"repo":{"id":24210186,"name":"wheel","full_name":"bigbinary/wheel","owner":{"login":"bigbinary","id":780670,"avatar_url":"https://avatars.githubusercontent.com/u/780670?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbinary","html_url":"https://github.com/bigbinary","followers_url":"https://api.github.com/users/bigbinary/followers","following_url":"https://api.github.com/users/bigbinary/following{/other_user}","gists_url":"https://api.github.com/users/bigbinary/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbinary/subscriptions","organizations_url":"https://api.github.com/users/bigbinary/orgs","repos_url":"https://api.github.com/users/bigbinary/repos","events_url":"https://api.github.com/users/bigbinary/events{/privacy}","received_events_url":"https://api.github.com/users/bigbinary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigbinary/wheel","description":"","fork":false,"url":"https://api.github.com/repos/bigbinary/wheel","forks_url":"https://api.github.com/repos/bigbinary/wheel/forks","keys_url":"https://api.github.com/repos/bigbinary/wheel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigbinary/wheel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigbinary/wheel/teams","hooks_url":"https://api.github.com/repos/bigbinary/wheel/hooks","issue_events_url":"https://api.github.com/repos/bigbinary/wheel/issues/events{/number}","events_url":"https://api.github.com/repos/bigbinary/wheel/events","assignees_url":"https://api.github.com/repos/bigbinary/wheel/assignees{/user}","branches_url":"https://api.github.com/repos/bigbinary/wheel/branches{/branch}","tags_url":"https://api.github.com/repos/bigbinary/wheel/tags","blobs_url":"https://api.github.com/repos/bigbinary/wheel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigbinary/wheel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigbinary/wheel/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigbinary/wheel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigbinary/wheel/statuses/{sha}","languages_url":"https://api.github.com/repos/bigbinary/wheel/languages","stargazers_url":"https://api.github.com/repos/bigbinary/wheel/stargazers","contributors_url":"https://api.github.com/repos/bigbinary/wheel/contributors","subscribers_url":"https://api.github.com/repos/bigbinary/wheel/subscribers","subscription_url":"https://api.github.com/repos/bigbinary/wheel/subscription","commits_url":"https://api.github.com/repos/bigbinary/wheel/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigbinary/wheel/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigbinary/wheel/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigbinary/wheel/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigbinary/wheel/contents/{+path}","compare_url":"https://api.github.com/repos/bigbinary/wheel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigbinary/wheel/merges","archive_url":"https://api.github.com/repos/bigbinary/wheel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigbinary/wheel/downloads","issues_url":"https://api.github.com/repos/bigbinary/wheel/issues{/number}","pulls_url":"https://api.github.com/repos/bigbinary/wheel/pulls{/number}","milestones_url":"https://api.github.com/repos/bigbinary/wheel/milestones{/number}","notifications_url":"https://api.github.com/repos/bigbinary/wheel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigbinary/wheel/labels{/name}","releases_url":"https://api.github.com/repos/bigbinary/wheel/releases{/id}","created_at":"2014-09-19T00:30:57Z","updated_at":"2015-05-01T13:23:10Z","pushed_at":"2015-05-17T15:36:06Z","git_url":"git://github.com/bigbinary/wheel.git","ssh_url":"git@github.com:bigbinary/wheel.git","clone_url":"https://github.com/bigbinary/wheel.git","svn_url":"https://github.com/bigbinary/wheel","homepage":null,"size":1599,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":7,"default_branch":"master"}},"base":{"label":"bigbinary:master","ref":"master","sha":"d73dea4b7ee11490d9f234a667445a58aad81577","user":{"login":"bigbinary","id":780670,"avatar_url":"https://avatars.githubusercontent.com/u/780670?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbinary","html_url":"https://github.com/bigbinary","followers_url":"https://api.github.com/users/bigbinary/followers","following_url":"https://api.github.com/users/bigbinary/following{/other_user}","gists_url":"https://api.github.com/users/bigbinary/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbinary/subscriptions","organizations_url":"https://api.github.com/users/bigbinary/orgs","repos_url":"https://api.github.com/users/bigbinary/repos","events_url":"https://api.github.com/users/bigbinary/events{/privacy}","received_events_url":"https://api.github.com/users/bigbinary/received_events","type":"Organization","site_admin":false},"repo":{"id":24210186,"name":"wheel","full_name":"bigbinary/wheel","owner":{"login":"bigbinary","id":780670,"avatar_url":"https://avatars.githubusercontent.com/u/780670?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbinary","html_url":"https://github.com/bigbinary","followers_url":"https://api.github.com/users/bigbinary/followers","following_url":"https://api.github.com/users/bigbinary/following{/other_user}","gists_url":"https://api.github.com/users/bigbinary/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbinary/subscriptions","organizations_url":"https://api.github.com/users/bigbinary/orgs","repos_url":"https://api.github.com/users/bigbinary/repos","events_url":"https://api.github.com/users/bigbinary/events{/privacy}","received_events_url":"https://api.github.com/users/bigbinary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bigbinary/wheel","description":"","fork":false,"url":"https://api.github.com/repos/bigbinary/wheel","forks_url":"https://api.github.com/repos/bigbinary/wheel/forks","keys_url":"https://api.github.com/repos/bigbinary/wheel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigbinary/wheel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigbinary/wheel/teams","hooks_url":"https://api.github.com/repos/bigbinary/wheel/hooks","issue_events_url":"https://api.github.com/repos/bigbinary/wheel/issues/events{/number}","events_url":"https://api.github.com/repos/bigbinary/wheel/events","assignees_url":"https://api.github.com/repos/bigbinary/wheel/assignees{/user}","branches_url":"https://api.github.com/repos/bigbinary/wheel/branches{/branch}","tags_url":"https://api.github.com/repos/bigbinary/wheel/tags","blobs_url":"https://api.github.com/repos/bigbinary/wheel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigbinary/wheel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigbinary/wheel/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigbinary/wheel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigbinary/wheel/statuses/{sha}","languages_url":"https://api.github.com/repos/bigbinary/wheel/languages","stargazers_url":"https://api.github.com/repos/bigbinary/wheel/stargazers","contributors_url":"https://api.github.com/repos/bigbinary/wheel/contributors","subscribers_url":"https://api.github.com/repos/bigbinary/wheel/subscribers","subscription_url":"https://api.github.com/repos/bigbinary/wheel/subscription","commits_url":"https://api.github.com/repos/bigbinary/wheel/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigbinary/wheel/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigbinary/wheel/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigbinary/wheel/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigbinary/wheel/contents/{+path}","compare_url":"https://api.github.com/repos/bigbinary/wheel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigbinary/wheel/merges","archive_url":"https://api.github.com/repos/bigbinary/wheel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigbinary/wheel/downloads","issues_url":"https://api.github.com/repos/bigbinary/wheel/issues{/number}","pulls_url":"https://api.github.com/repos/bigbinary/wheel/pulls{/number}","milestones_url":"https://api.github.com/repos/bigbinary/wheel/milestones{/number}","notifications_url":"https://api.github.com/repos/bigbinary/wheel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigbinary/wheel/labels{/name}","releases_url":"https://api.github.com/repos/bigbinary/wheel/releases{/id}","created_at":"2014-09-19T00:30:57Z","updated_at":"2015-05-01T13:23:10Z","pushed_at":"2015-05-17T15:36:06Z","git_url":"git://github.com/bigbinary/wheel.git","ssh_url":"git@github.com:bigbinary/wheel.git","clone_url":"https://github.com/bigbinary/wheel.git","svn_url":"https://github.com/bigbinary/wheel","homepage":null,"size":1599,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bigbinary/wheel/pulls/70"},"html":{"href":"https://github.com/bigbinary/wheel/pull/70"},"issue":{"href":"https://api.github.com/repos/bigbinary/wheel/issues/70"},"comments":{"href":"https://api.github.com/repos/bigbinary/wheel/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/bigbinary/wheel/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/bigbinary/wheel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bigbinary/wheel/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/bigbinary/wheel/statuses/e62536b892e26950fc3061413175b329fdac460a"}}}}