{"action":"opened","number":1183,"pull_request":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/1183","id":46462434,"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1183","diff_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1183.diff","patch_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1183.patch","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1183","number":1183,"state":"open","locked":false,"title":"Avoid \"Error: 1068 Multiple primary key defined\"","user":{"login":"mwjames","id":1245473,"avatar_url":"https://avatars.githubusercontent.com/u/1245473?v=3","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"body":"This appears when columns with primary keys already specified are tried for an alteration.","created_at":"2015-09-30T21:58:59Z","updated_at":"2015-09-30T21:58:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones/14","html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/milestones/SMW%202.3","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones/14/labels","id":1035374,"number":14,"title":"SMW 2.3","description":"","creator":{"login":"mwjames","id":1245473,"avatar_url":"https://avatars.githubusercontent.com/u/1245473?v=3","gravatar_id":"","url":"https://api.github.com/users/mwjames","html_url":"https://github.com/mwjames","followers_url":"https://api.github.com/users/mwjames/followers","following_url":"https://api.github.com/users/mwjames/following{/other_user}","gists_url":"https://api.github.com/users/mwjames/gists{/gist_id}","starred_url":"https://api.github.com/users/mwjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwjames/subscriptions","organizations_url":"https://api.github.com/users/mwjames/orgs","repos_url":"https://api.github.com/users/mwjames/repos","events_url":"https://api.github.com/users/mwjames/events{/privacy}","received_events_url":"https://api.github.com/users/mwjames/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":86,"state":"open","created_at":"2015-03-23T22:52:03Z","updated_at":"2015-09-30T21:58:59Z","due_on":"2015-09-29T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/1183/commits","review_comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/1183/comments","review_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1183/comments","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/d0fa8d6035b6d79ef8d3b8bd521e5f6379a2880e","head":{"label":"SemanticMediaWiki:sql","ref":"sql","sha":"d0fa8d6035b6d79ef8d3b8bd521e5f6379a2880e","user":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":14058345,"name":"SemanticMediaWiki","full_name":"SemanticMediaWiki/SemanticMediaWiki","owner":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","description":"Semantic MediaWiki is a project for extending MediaWiki with \"semantic\" functions that enable machine-reading of wiki-content.","fork":false,"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki","forks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/forks","keys_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/teams","hooks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/hooks","issue_events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/events{/number}","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/events","assignees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/assignees{/user}","branches_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/branches{/branch}","tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/tags","blobs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/languages","stargazers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/stargazers","contributors_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contributors","subscribers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscribers","subscription_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscription","commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contents/{+path}","compare_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/merges","archive_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/downloads","issues_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues{/number}","pulls_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels{/name}","releases_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/releases{/id}","created_at":"2013-11-02T01:38:36Z","updated_at":"2015-09-30T14:00:16Z","pushed_at":"2015-09-30T21:58:22Z","git_url":"git://github.com/SemanticMediaWiki/SemanticMediaWiki.git","ssh_url":"git@github.com:SemanticMediaWiki/SemanticMediaWiki.git","clone_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki.git","svn_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","homepage":"https://semantic-mediawiki.org/","size":29171,"stargazers_count":68,"watchers_count":68,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":138,"forks":44,"open_issues":138,"watchers":68,"default_branch":"master"}},"base":{"label":"SemanticMediaWiki:master","ref":"master","sha":"f26edef6234d9a14175d0f3ed5610af9c5a80ec2","user":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"repo":{"id":14058345,"name":"SemanticMediaWiki","full_name":"SemanticMediaWiki/SemanticMediaWiki","owner":{"login":"SemanticMediaWiki","id":1623598,"avatar_url":"https://avatars.githubusercontent.com/u/1623598?v=3","gravatar_id":"","url":"https://api.github.com/users/SemanticMediaWiki","html_url":"https://github.com/SemanticMediaWiki","followers_url":"https://api.github.com/users/SemanticMediaWiki/followers","following_url":"https://api.github.com/users/SemanticMediaWiki/following{/other_user}","gists_url":"https://api.github.com/users/SemanticMediaWiki/gists{/gist_id}","starred_url":"https://api.github.com/users/SemanticMediaWiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SemanticMediaWiki/subscriptions","organizations_url":"https://api.github.com/users/SemanticMediaWiki/orgs","repos_url":"https://api.github.com/users/SemanticMediaWiki/repos","events_url":"https://api.github.com/users/SemanticMediaWiki/events{/privacy}","received_events_url":"https://api.github.com/users/SemanticMediaWiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","description":"Semantic MediaWiki is a project for extending MediaWiki with \"semantic\" functions that enable machine-reading of wiki-content.","fork":false,"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki","forks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/forks","keys_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/teams","hooks_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/hooks","issue_events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/events{/number}","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/events","assignees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/assignees{/user}","branches_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/branches{/branch}","tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/tags","blobs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/refs{/sha}","trees_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/{sha}","languages_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/languages","stargazers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/stargazers","contributors_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contributors","subscribers_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscribers","subscription_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/subscription","commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/commits{/sha}","git_commits_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/git/commits{/sha}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/comments{/number}","issue_comment_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments{/number}","contents_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/contents/{+path}","compare_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/merges","archive_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/downloads","issues_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues{/number}","pulls_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls{/number}","milestones_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/milestones{/number}","notifications_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels{/name}","releases_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/releases{/id}","created_at":"2013-11-02T01:38:36Z","updated_at":"2015-09-30T14:00:16Z","pushed_at":"2015-09-30T21:58:22Z","git_url":"git://github.com/SemanticMediaWiki/SemanticMediaWiki.git","ssh_url":"git@github.com:SemanticMediaWiki/SemanticMediaWiki.git","clone_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki.git","svn_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki","homepage":"https://semantic-mediawiki.org/","size":29171,"stargazers_count":68,"watchers_count":68,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":138,"forks":44,"open_issues":138,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/1183"},"html":{"href":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1183"},"issue":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1183"},"comments":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/1183/comments"},"review_comments":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/1183/comments"},"review_comment":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/pulls/1183/commits"},"statuses":{"href":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/statuses/d0fa8d6035b6d79ef8d3b8bd521e5f6379a2880e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}