{"action":"closed","number":49,"pull_request":{"url":"https://api.github.com/repos/pietermartin/sqlg/pulls/49","id":71909584,"html_url":"https://github.com/pietermartin/sqlg/pull/49","diff_url":"https://github.com/pietermartin/sqlg/pull/49.diff","patch_url":"https://github.com/pietermartin/sqlg/pull/49.patch","issue_url":"https://api.github.com/repos/pietermartin/sqlg/issues/49","number":49,"state":"closed","locked":false,"title":"addEdgeForeignKey: create foreign key and index","user":{"login":"diegonc","id":261458,"avatar_url":"https://avatars.githubusercontent.com/u/261458?v=3","gravatar_id":"","url":"https://api.github.com/users/diegonc","html_url":"https://github.com/diegonc","followers_url":"https://api.github.com/users/diegonc/followers","following_url":"https://api.github.com/users/diegonc/following{/other_user}","gists_url":"https://api.github.com/users/diegonc/gists{/gist_id}","starred_url":"https://api.github.com/users/diegonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegonc/subscriptions","organizations_url":"https://api.github.com/users/diegonc/orgs","repos_url":"https://api.github.com/users/diegonc/repos","events_url":"https://api.github.com/users/diegonc/events{/privacy}","received_events_url":"https://api.github.com/users/diegonc/received_events","type":"User","site_admin":false},"body":"When adding new out or in vertices to an edge table, create the foreign key and index if required by the SQL dialect.\r\n\r\nI added a parameter to addEdgeForeignKey holding the in (or out) vertex schema and table name to be able to generate the REFERENCES section of the foreign key clause.\r\n\r\n@pietermartin, can you check whether I used the correct schemas in each section of the foreign key clause?\r\n\r\nThanks","created_at":"2016-05-30T14:35:22Z","updated_at":"2016-05-30T15:40:48Z","closed_at":"2016-05-30T15:40:48Z","merged_at":"2016-05-30T15:40:48Z","merge_commit_sha":"0919ca141fe27d8e3b365f58ba3b6f638e553d1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pietermartin/sqlg/pulls/49/commits","review_comments_url":"https://api.github.com/repos/pietermartin/sqlg/pulls/49/comments","review_comment_url":"https://api.github.com/repos/pietermartin/sqlg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pietermartin/sqlg/issues/49/comments","statuses_url":"https://api.github.com/repos/pietermartin/sqlg/statuses/5b375e608432576d129ad70b9d8487ea28ceb8be","head":{"label":"diegonc:t/create-foreign-key-and-index","ref":"t/create-foreign-key-and-index","sha":"5b375e608432576d129ad70b9d8487ea28ceb8be","user":{"login":"diegonc","id":261458,"avatar_url":"https://avatars.githubusercontent.com/u/261458?v=3","gravatar_id":"","url":"https://api.github.com/users/diegonc","html_url":"https://github.com/diegonc","followers_url":"https://api.github.com/users/diegonc/followers","following_url":"https://api.github.com/users/diegonc/following{/other_user}","gists_url":"https://api.github.com/users/diegonc/gists{/gist_id}","starred_url":"https://api.github.com/users/diegonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegonc/subscriptions","organizations_url":"https://api.github.com/users/diegonc/orgs","repos_url":"https://api.github.com/users/diegonc/repos","events_url":"https://api.github.com/users/diegonc/events{/privacy}","received_events_url":"https://api.github.com/users/diegonc/received_events","type":"User","site_admin":false},"repo":{"id":59960511,"name":"sqlg","full_name":"diegonc/sqlg","owner":{"login":"diegonc","id":261458,"avatar_url":"https://avatars.githubusercontent.com/u/261458?v=3","gravatar_id":"","url":"https://api.github.com/users/diegonc","html_url":"https://github.com/diegonc","followers_url":"https://api.github.com/users/diegonc/followers","following_url":"https://api.github.com/users/diegonc/following{/other_user}","gists_url":"https://api.github.com/users/diegonc/gists{/gist_id}","starred_url":"https://api.github.com/users/diegonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegonc/subscriptions","organizations_url":"https://api.github.com/users/diegonc/orgs","repos_url":"https://api.github.com/users/diegonc/repos","events_url":"https://api.github.com/users/diegonc/events{/privacy}","received_events_url":"https://api.github.com/users/diegonc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/diegonc/sqlg","description":"tinkerpop3 graph over sql","fork":true,"url":"https://api.github.com/repos/diegonc/sqlg","forks_url":"https://api.github.com/repos/diegonc/sqlg/forks","keys_url":"https://api.github.com/repos/diegonc/sqlg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diegonc/sqlg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diegonc/sqlg/teams","hooks_url":"https://api.github.com/repos/diegonc/sqlg/hooks","issue_events_url":"https://api.github.com/repos/diegonc/sqlg/issues/events{/number}","events_url":"https://api.github.com/repos/diegonc/sqlg/events","assignees_url":"https://api.github.com/repos/diegonc/sqlg/assignees{/user}","branches_url":"https://api.github.com/repos/diegonc/sqlg/branches{/branch}","tags_url":"https://api.github.com/repos/diegonc/sqlg/tags","blobs_url":"https://api.github.com/repos/diegonc/sqlg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diegonc/sqlg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diegonc/sqlg/git/refs{/sha}","trees_url":"https://api.github.com/repos/diegonc/sqlg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diegonc/sqlg/statuses/{sha}","languages_url":"https://api.github.com/repos/diegonc/sqlg/languages","stargazers_url":"https://api.github.com/repos/diegonc/sqlg/stargazers","contributors_url":"https://api.github.com/repos/diegonc/sqlg/contributors","subscribers_url":"https://api.github.com/repos/diegonc/sqlg/subscribers","subscription_url":"https://api.github.com/repos/diegonc/sqlg/subscription","commits_url":"https://api.github.com/repos/diegonc/sqlg/commits{/sha}","git_commits_url":"https://api.github.com/repos/diegonc/sqlg/git/commits{/sha}","comments_url":"https://api.github.com/repos/diegonc/sqlg/comments{/number}","issue_comment_url":"https://api.github.com/repos/diegonc/sqlg/issues/comments{/number}","contents_url":"https://api.github.com/repos/diegonc/sqlg/contents/{+path}","compare_url":"https://api.github.com/repos/diegonc/sqlg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diegonc/sqlg/merges","archive_url":"https://api.github.com/repos/diegonc/sqlg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diegonc/sqlg/downloads","issues_url":"https://api.github.com/repos/diegonc/sqlg/issues{/number}","pulls_url":"https://api.github.com/repos/diegonc/sqlg/pulls{/number}","milestones_url":"https://api.github.com/repos/diegonc/sqlg/milestones{/number}","notifications_url":"https://api.github.com/repos/diegonc/sqlg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diegonc/sqlg/labels{/name}","releases_url":"https://api.github.com/repos/diegonc/sqlg/releases{/id}","deployments_url":"https://api.github.com/repos/diegonc/sqlg/deployments","created_at":"2016-05-29T19:37:09Z","updated_at":"2016-05-29T19:37:11Z","pushed_at":"2016-05-30T14:15:47Z","git_url":"git://github.com/diegonc/sqlg.git","ssh_url":"git@github.com:diegonc/sqlg.git","clone_url":"https://github.com/diegonc/sqlg.git","svn_url":"https://github.com/diegonc/sqlg","homepage":null,"size":2875,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"pietermartin:master","ref":"master","sha":"7fcf41aa5a7abec99520e306e94e5fca172f06fb","user":{"login":"pietermartin","id":439356,"avatar_url":"https://avatars.githubusercontent.com/u/439356?v=3","gravatar_id":"","url":"https://api.github.com/users/pietermartin","html_url":"https://github.com/pietermartin","followers_url":"https://api.github.com/users/pietermartin/followers","following_url":"https://api.github.com/users/pietermartin/following{/other_user}","gists_url":"https://api.github.com/users/pietermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/pietermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietermartin/subscriptions","organizations_url":"https://api.github.com/users/pietermartin/orgs","repos_url":"https://api.github.com/users/pietermartin/repos","events_url":"https://api.github.com/users/pietermartin/events{/privacy}","received_events_url":"https://api.github.com/users/pietermartin/received_events","type":"User","site_admin":false},"repo":{"id":21758708,"name":"sqlg","full_name":"pietermartin/sqlg","owner":{"login":"pietermartin","id":439356,"avatar_url":"https://avatars.githubusercontent.com/u/439356?v=3","gravatar_id":"","url":"https://api.github.com/users/pietermartin","html_url":"https://github.com/pietermartin","followers_url":"https://api.github.com/users/pietermartin/followers","following_url":"https://api.github.com/users/pietermartin/following{/other_user}","gists_url":"https://api.github.com/users/pietermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/pietermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietermartin/subscriptions","organizations_url":"https://api.github.com/users/pietermartin/orgs","repos_url":"https://api.github.com/users/pietermartin/repos","events_url":"https://api.github.com/users/pietermartin/events{/privacy}","received_events_url":"https://api.github.com/users/pietermartin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pietermartin/sqlg","description":"tinkerpop3 graph over sql","fork":false,"url":"https://api.github.com/repos/pietermartin/sqlg","forks_url":"https://api.github.com/repos/pietermartin/sqlg/forks","keys_url":"https://api.github.com/repos/pietermartin/sqlg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pietermartin/sqlg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pietermartin/sqlg/teams","hooks_url":"https://api.github.com/repos/pietermartin/sqlg/hooks","issue_events_url":"https://api.github.com/repos/pietermartin/sqlg/issues/events{/number}","events_url":"https://api.github.com/repos/pietermartin/sqlg/events","assignees_url":"https://api.github.com/repos/pietermartin/sqlg/assignees{/user}","branches_url":"https://api.github.com/repos/pietermartin/sqlg/branches{/branch}","tags_url":"https://api.github.com/repos/pietermartin/sqlg/tags","blobs_url":"https://api.github.com/repos/pietermartin/sqlg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pietermartin/sqlg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pietermartin/sqlg/git/refs{/sha}","trees_url":"https://api.github.com/repos/pietermartin/sqlg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pietermartin/sqlg/statuses/{sha}","languages_url":"https://api.github.com/repos/pietermartin/sqlg/languages","stargazers_url":"https://api.github.com/repos/pietermartin/sqlg/stargazers","contributors_url":"https://api.github.com/repos/pietermartin/sqlg/contributors","subscribers_url":"https://api.github.com/repos/pietermartin/sqlg/subscribers","subscription_url":"https://api.github.com/repos/pietermartin/sqlg/subscription","commits_url":"https://api.github.com/repos/pietermartin/sqlg/commits{/sha}","git_commits_url":"https://api.github.com/repos/pietermartin/sqlg/git/commits{/sha}","comments_url":"https://api.github.com/repos/pietermartin/sqlg/comments{/number}","issue_comment_url":"https://api.github.com/repos/pietermartin/sqlg/issues/comments{/number}","contents_url":"https://api.github.com/repos/pietermartin/sqlg/contents/{+path}","compare_url":"https://api.github.com/repos/pietermartin/sqlg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pietermartin/sqlg/merges","archive_url":"https://api.github.com/repos/pietermartin/sqlg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pietermartin/sqlg/downloads","issues_url":"https://api.github.com/repos/pietermartin/sqlg/issues{/number}","pulls_url":"https://api.github.com/repos/pietermartin/sqlg/pulls{/number}","milestones_url":"https://api.github.com/repos/pietermartin/sqlg/milestones{/number}","notifications_url":"https://api.github.com/repos/pietermartin/sqlg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pietermartin/sqlg/labels{/name}","releases_url":"https://api.github.com/repos/pietermartin/sqlg/releases{/id}","deployments_url":"https://api.github.com/repos/pietermartin/sqlg/deployments","created_at":"2014-07-12T03:34:07Z","updated_at":"2016-05-11T14:37:49Z","pushed_at":"2016-05-30T15:40:48Z","git_url":"git://github.com/pietermartin/sqlg.git","ssh_url":"git@github.com:pietermartin/sqlg.git","clone_url":"https://github.com/pietermartin/sqlg.git","svn_url":"https://github.com/pietermartin/sqlg","homepage":null,"size":2932,"stargazers_count":38,"watchers_count":38,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":11,"forks":9,"open_issues":11,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/49"},"html":{"href":"https://github.com/pietermartin/sqlg/pull/49"},"issue":{"href":"https://api.github.com/repos/pietermartin/sqlg/issues/49"},"comments":{"href":"https://api.github.com/repos/pietermartin/sqlg/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pietermartin/sqlg/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/pietermartin/sqlg/statuses/5b375e608432576d129ad70b9d8487ea28ceb8be"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pietermartin","id":439356,"avatar_url":"https://avatars.githubusercontent.com/u/439356?v=3","gravatar_id":"","url":"https://api.github.com/users/pietermartin","html_url":"https://github.com/pietermartin","followers_url":"https://api.github.com/users/pietermartin/followers","following_url":"https://api.github.com/users/pietermartin/following{/other_user}","gists_url":"https://api.github.com/users/pietermartin/gists{/gist_id}","starred_url":"https://api.github.com/users/pietermartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietermartin/subscriptions","organizations_url":"https://api.github.com/users/pietermartin/orgs","repos_url":"https://api.github.com/users/pietermartin/repos","events_url":"https://api.github.com/users/pietermartin/events{/privacy}","received_events_url":"https://api.github.com/users/pietermartin/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":25,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"pietermartin"}}