{"action":"created","comment":{"url":"https://api.github.com/repos/h2database/h2database/pulls/comments/125189686","pull_request_review_id":47556268,"id":125189686,"diff_hunk":"@@ -256,10 +258,10 @@ public void rename(SchemaObject obj, String newName) {\n         Map<String, SchemaObject> map = getMap(type);\n         if (SysProperties.CHECK) {\n             if (!map.containsKey(obj.getName())) {\n-                DbException.throwInternalError(\"not found: \" + obj.getName());\n+                throw DbException.throwInternalError(\"not found: \" + obj.getName());\n             }\n             if (obj.getName().equals(newName) || map.containsKey(newName)) {\n-                DbException.throwInternalError(\"object already exists: \" + newName);\n+                throw DbException.throwInternalError(\"object already exists: \" + newName);","path":"h2/src/main/org/h2/schema/Schema.java","position":null,"original_position":40,"commit_id":"80adebef3c3f1974b9ca948a01f26a6b4a427c5a","original_commit_id":"c7be5be27e6d7ab0aae2ebad1d9a5b4693e97f0a","user":{"login":"NiklasMehner","id":1682195,"avatar_url":"https://avatars2.githubusercontent.com/u/1682195?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasMehner","html_url":"https://github.com/NiklasMehner","followers_url":"https://api.github.com/users/NiklasMehner/followers","following_url":"https://api.github.com/users/NiklasMehner/following{/other_user}","gists_url":"https://api.github.com/users/NiklasMehner/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasMehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasMehner/subscriptions","organizations_url":"https://api.github.com/users/NiklasMehner/orgs","repos_url":"https://api.github.com/users/NiklasMehner/repos","events_url":"https://api.github.com/users/NiklasMehner/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasMehner/received_events","type":"User","site_admin":false},"body":"Reverted change.","created_at":"2017-07-02T18:43:56Z","updated_at":"2017-07-02T18:43:56Z","html_url":"https://github.com/h2database/h2database/pull/548#discussion_r125189686","pull_request_url":"https://api.github.com/repos/h2database/h2database/pulls/548","_links":{"self":{"href":"https://api.github.com/repos/h2database/h2database/pulls/comments/125189686"},"html":{"href":"https://github.com/h2database/h2database/pull/548#discussion_r125189686"},"pull_request":{"href":"https://api.github.com/repos/h2database/h2database/pulls/548"}}},"pull_request":{"url":"https://api.github.com/repos/h2database/h2database/pulls/548","id":128497376,"html_url":"https://github.com/h2database/h2database/pull/548","diff_url":"https://github.com/h2database/h2database/pull/548.diff","patch_url":"https://github.com/h2database/h2database/pull/548.patch","issue_url":"https://api.github.com/repos/h2database/h2database/issues/548","number":548,"state":"open","locked":false,"title":"Table synonym support","user":{"login":"NiklasMehner","id":1682195,"avatar_url":"https://avatars2.githubusercontent.com/u/1682195?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasMehner","html_url":"https://github.com/NiklasMehner","followers_url":"https://api.github.com/users/NiklasMehner/followers","following_url":"https://api.github.com/users/NiklasMehner/following{/other_user}","gists_url":"https://api.github.com/users/NiklasMehner/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasMehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasMehner/subscriptions","organizations_url":"https://api.github.com/users/NiklasMehner/orgs","repos_url":"https://api.github.com/users/NiklasMehner/repos","events_url":"https://api.github.com/users/NiklasMehner/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasMehner/received_events","type":"User","site_admin":false},"body":"This patch implements support for table synonyms as described in ticket https://github.com/h2database/h2database/issues/158 . Function and sequence synonyms have not been implemented. ","created_at":"2017-07-01T18:46:23Z","updated_at":"2017-07-02T18:43:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e90da922ba6ca39ff006844d803b8e64f3e186f1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/h2database/h2database/pulls/548/commits","review_comments_url":"https://api.github.com/repos/h2database/h2database/pulls/548/comments","review_comment_url":"https://api.github.com/repos/h2database/h2database/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h2database/h2database/issues/548/comments","statuses_url":"https://api.github.com/repos/h2database/h2database/statuses/80adebef3c3f1974b9ca948a01f26a6b4a427c5a","head":{"label":"NiklasMehner:master","ref":"master","sha":"80adebef3c3f1974b9ca948a01f26a6b4a427c5a","user":{"login":"NiklasMehner","id":1682195,"avatar_url":"https://avatars2.githubusercontent.com/u/1682195?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasMehner","html_url":"https://github.com/NiklasMehner","followers_url":"https://api.github.com/users/NiklasMehner/followers","following_url":"https://api.github.com/users/NiklasMehner/following{/other_user}","gists_url":"https://api.github.com/users/NiklasMehner/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasMehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasMehner/subscriptions","organizations_url":"https://api.github.com/users/NiklasMehner/orgs","repos_url":"https://api.github.com/users/NiklasMehner/repos","events_url":"https://api.github.com/users/NiklasMehner/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasMehner/received_events","type":"User","site_admin":false},"repo":{"id":55802021,"name":"h2database","full_name":"NiklasMehner/h2database","owner":{"login":"NiklasMehner","id":1682195,"avatar_url":"https://avatars2.githubusercontent.com/u/1682195?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasMehner","html_url":"https://github.com/NiklasMehner","followers_url":"https://api.github.com/users/NiklasMehner/followers","following_url":"https://api.github.com/users/NiklasMehner/following{/other_user}","gists_url":"https://api.github.com/users/NiklasMehner/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasMehner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasMehner/subscriptions","organizations_url":"https://api.github.com/users/NiklasMehner/orgs","repos_url":"https://api.github.com/users/NiklasMehner/repos","events_url":"https://api.github.com/users/NiklasMehner/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasMehner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NiklasMehner/h2database","description":"Automatically exported from code.google.com/p/h2database","fork":true,"url":"https://api.github.com/repos/NiklasMehner/h2database","forks_url":"https://api.github.com/repos/NiklasMehner/h2database/forks","keys_url":"https://api.github.com/repos/NiklasMehner/h2database/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NiklasMehner/h2database/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NiklasMehner/h2database/teams","hooks_url":"https://api.github.com/repos/NiklasMehner/h2database/hooks","issue_events_url":"https://api.github.com/repos/NiklasMehner/h2database/issues/events{/number}","events_url":"https://api.github.com/repos/NiklasMehner/h2database/events","assignees_url":"https://api.github.com/repos/NiklasMehner/h2database/assignees{/user}","branches_url":"https://api.github.com/repos/NiklasMehner/h2database/branches{/branch}","tags_url":"https://api.github.com/repos/NiklasMehner/h2database/tags","blobs_url":"https://api.github.com/repos/NiklasMehner/h2database/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NiklasMehner/h2database/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NiklasMehner/h2database/git/refs{/sha}","trees_url":"https://api.github.com/repos/NiklasMehner/h2database/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NiklasMehner/h2database/statuses/{sha}","languages_url":"https://api.github.com/repos/NiklasMehner/h2database/languages","stargazers_url":"https://api.github.com/repos/NiklasMehner/h2database/stargazers","contributors_url":"https://api.github.com/repos/NiklasMehner/h2database/contributors","subscribers_url":"https://api.github.com/repos/NiklasMehner/h2database/subscribers","subscription_url":"https://api.github.com/repos/NiklasMehner/h2database/subscription","commits_url":"https://api.github.com/repos/NiklasMehner/h2database/commits{/sha}","git_commits_url":"https://api.github.com/repos/NiklasMehner/h2database/git/commits{/sha}","comments_url":"https://api.github.com/repos/NiklasMehner/h2database/comments{/number}","issue_comment_url":"https://api.github.com/repos/NiklasMehner/h2database/issues/comments{/number}","contents_url":"https://api.github.com/repos/NiklasMehner/h2database/contents/{+path}","compare_url":"https://api.github.com/repos/NiklasMehner/h2database/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NiklasMehner/h2database/merges","archive_url":"https://api.github.com/repos/NiklasMehner/h2database/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NiklasMehner/h2database/downloads","issues_url":"https://api.github.com/repos/NiklasMehner/h2database/issues{/number}","pulls_url":"https://api.github.com/repos/NiklasMehner/h2database/pulls{/number}","milestones_url":"https://api.github.com/repos/NiklasMehner/h2database/milestones{/number}","notifications_url":"https://api.github.com/repos/NiklasMehner/h2database/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NiklasMehner/h2database/labels{/name}","releases_url":"https://api.github.com/repos/NiklasMehner/h2database/releases{/id}","deployments_url":"https://api.github.com/repos/NiklasMehner/h2database/deployments","created_at":"2016-04-08T18:47:13Z","updated_at":"2016-04-08T18:47:17Z","pushed_at":"2017-07-02T18:40:16Z","git_url":"git://github.com/NiklasMehner/h2database.git","ssh_url":"git@github.com:NiklasMehner/h2database.git","clone_url":"https://github.com/NiklasMehner/h2database.git","svn_url":"https://github.com/NiklasMehner/h2database","homepage":null,"size":53538,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"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":"h2database:master","ref":"master","sha":"8b018f2b0afd64c7c665d76db82757b52a837af2","user":{"login":"h2database","id":11459762,"avatar_url":"https://avatars1.githubusercontent.com/u/11459762?v=3","gravatar_id":"","url":"https://api.github.com/users/h2database","html_url":"https://github.com/h2database","followers_url":"https://api.github.com/users/h2database/followers","following_url":"https://api.github.com/users/h2database/following{/other_user}","gists_url":"https://api.github.com/users/h2database/gists{/gist_id}","starred_url":"https://api.github.com/users/h2database/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2database/subscriptions","organizations_url":"https://api.github.com/users/h2database/orgs","repos_url":"https://api.github.com/users/h2database/repos","events_url":"https://api.github.com/users/h2database/events{/privacy}","received_events_url":"https://api.github.com/users/h2database/received_events","type":"Organization","site_admin":false},"repo":{"id":33745913,"name":"h2database","full_name":"h2database/h2database","owner":{"login":"h2database","id":11459762,"avatar_url":"https://avatars1.githubusercontent.com/u/11459762?v=3","gravatar_id":"","url":"https://api.github.com/users/h2database","html_url":"https://github.com/h2database","followers_url":"https://api.github.com/users/h2database/followers","following_url":"https://api.github.com/users/h2database/following{/other_user}","gists_url":"https://api.github.com/users/h2database/gists{/gist_id}","starred_url":"https://api.github.com/users/h2database/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2database/subscriptions","organizations_url":"https://api.github.com/users/h2database/orgs","repos_url":"https://api.github.com/users/h2database/repos","events_url":"https://api.github.com/users/h2database/events{/privacy}","received_events_url":"https://api.github.com/users/h2database/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/h2database/h2database","description":"H2 is an embeddable RDBMS written in Java.","fork":false,"url":"https://api.github.com/repos/h2database/h2database","forks_url":"https://api.github.com/repos/h2database/h2database/forks","keys_url":"https://api.github.com/repos/h2database/h2database/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h2database/h2database/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h2database/h2database/teams","hooks_url":"https://api.github.com/repos/h2database/h2database/hooks","issue_events_url":"https://api.github.com/repos/h2database/h2database/issues/events{/number}","events_url":"https://api.github.com/repos/h2database/h2database/events","assignees_url":"https://api.github.com/repos/h2database/h2database/assignees{/user}","branches_url":"https://api.github.com/repos/h2database/h2database/branches{/branch}","tags_url":"https://api.github.com/repos/h2database/h2database/tags","blobs_url":"https://api.github.com/repos/h2database/h2database/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h2database/h2database/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h2database/h2database/git/refs{/sha}","trees_url":"https://api.github.com/repos/h2database/h2database/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h2database/h2database/statuses/{sha}","languages_url":"https://api.github.com/repos/h2database/h2database/languages","stargazers_url":"https://api.github.com/repos/h2database/h2database/stargazers","contributors_url":"https://api.github.com/repos/h2database/h2database/contributors","subscribers_url":"https://api.github.com/repos/h2database/h2database/subscribers","subscription_url":"https://api.github.com/repos/h2database/h2database/subscription","commits_url":"https://api.github.com/repos/h2database/h2database/commits{/sha}","git_commits_url":"https://api.github.com/repos/h2database/h2database/git/commits{/sha}","comments_url":"https://api.github.com/repos/h2database/h2database/comments{/number}","issue_comment_url":"https://api.github.com/repos/h2database/h2database/issues/comments{/number}","contents_url":"https://api.github.com/repos/h2database/h2database/contents/{+path}","compare_url":"https://api.github.com/repos/h2database/h2database/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h2database/h2database/merges","archive_url":"https://api.github.com/repos/h2database/h2database/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h2database/h2database/downloads","issues_url":"https://api.github.com/repos/h2database/h2database/issues{/number}","pulls_url":"https://api.github.com/repos/h2database/h2database/pulls{/number}","milestones_url":"https://api.github.com/repos/h2database/h2database/milestones{/number}","notifications_url":"https://api.github.com/repos/h2database/h2database/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h2database/h2database/labels{/name}","releases_url":"https://api.github.com/repos/h2database/h2database/releases{/id}","deployments_url":"https://api.github.com/repos/h2database/h2database/deployments","created_at":"2015-04-10T19:09:09Z","updated_at":"2017-07-02T12:18:03Z","pushed_at":"2017-07-02T18:40:17Z","git_url":"git://github.com/h2database/h2database.git","ssh_url":"git@github.com:h2database/h2database.git","clone_url":"https://github.com/h2database/h2database.git","svn_url":"https://github.com/h2database/h2database","homepage":"http://h2database.com","size":55029,"stargazers_count":773,"watchers_count":773,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":321,"mirror_url":null,"open_issues_count":98,"forks":321,"open_issues":98,"watchers":773,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/h2database/h2database/pulls/548"},"html":{"href":"https://github.com/h2database/h2database/pull/548"},"issue":{"href":"https://api.github.com/repos/h2database/h2database/issues/548"},"comments":{"href":"https://api.github.com/repos/h2database/h2database/issues/548/comments"},"review_comments":{"href":"https://api.github.com/repos/h2database/h2database/pulls/548/comments"},"review_comment":{"href":"https://api.github.com/repos/h2database/h2database/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h2database/h2database/pulls/548/commits"},"statuses":{"href":"https://api.github.com/repos/h2database/h2database/statuses/80adebef3c3f1974b9ca948a01f26a6b4a427c5a"}}}}
{"actor":{"display_login":"NiklasMehner"}}