{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/1","id":120123283,"html_url":"https://github.com/everypolitician-scrapers/wales-positions/pull/1","diff_url":"https://github.com/everypolitician-scrapers/wales-positions/pull/1.diff","patch_url":"https://github.com/everypolitician-scrapers/wales-positions/pull/1.patch","issue_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/1","number":1,"state":"open","locked":false,"title":"Remove table from database before scraping","user":{"login":"ondenman","id":4107953,"avatar_url":"https://avatars1.githubusercontent.com/u/4107953?v=3","gravatar_id":"","url":"https://api.github.com/users/ondenman","html_url":"https://github.com/ondenman","followers_url":"https://api.github.com/users/ondenman/followers","following_url":"https://api.github.com/users/ondenman/following{/other_user}","gists_url":"https://api.github.com/users/ondenman/gists{/gist_id}","starred_url":"https://api.github.com/users/ondenman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondenman/subscriptions","organizations_url":"https://api.github.com/users/ondenman/orgs","repos_url":"https://api.github.com/users/ondenman/repos","events_url":"https://api.github.com/users/ondenman/events{/privacy}","received_events_url":"https://api.github.com/users/ondenman/received_events","type":"User","site_admin":false},"body":"SqliteMagic creates a unique index at CREATE TABLE time. This means that if the unique index arguments of ScraperWiki.save_sqlite change, we need to create a new table to ensure the db reflects the change. Part of: https://github.com/everypolitician/everypolitician/issues/593","created_at":"2017-05-11T14:38:42Z","updated_at":"2017-05-11T14:38:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/1/commits","review_comments_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/1/comments","review_comment_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/1/comments","statuses_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/statuses/c7f907142452d06c42aee3c1bf49ecd7e7a17eeb","head":{"label":"everypolitician-scrapers:drop-table-before-each-run","ref":"drop-table-before-each-run","sha":"c7f907142452d06c42aee3c1bf49ecd7e7a17eeb","user":{"login":"everypolitician-scrapers","id":18443033,"avatar_url":"https://avatars2.githubusercontent.com/u/18443033?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician-scrapers","html_url":"https://github.com/everypolitician-scrapers","followers_url":"https://api.github.com/users/everypolitician-scrapers/followers","following_url":"https://api.github.com/users/everypolitician-scrapers/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician-scrapers/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician-scrapers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician-scrapers/subscriptions","organizations_url":"https://api.github.com/users/everypolitician-scrapers/orgs","repos_url":"https://api.github.com/users/everypolitician-scrapers/repos","events_url":"https://api.github.com/users/everypolitician-scrapers/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician-scrapers/received_events","type":"Organization","site_admin":false},"repo":{"id":87014780,"name":"wales-positions","full_name":"everypolitician-scrapers/wales-positions","owner":{"login":"everypolitician-scrapers","id":18443033,"avatar_url":"https://avatars2.githubusercontent.com/u/18443033?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician-scrapers","html_url":"https://github.com/everypolitician-scrapers","followers_url":"https://api.github.com/users/everypolitician-scrapers/followers","following_url":"https://api.github.com/users/everypolitician-scrapers/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician-scrapers/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician-scrapers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician-scrapers/subscriptions","organizations_url":"https://api.github.com/users/everypolitician-scrapers/orgs","repos_url":"https://api.github.com/users/everypolitician-scrapers/repos","events_url":"https://api.github.com/users/everypolitician-scrapers/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician-scrapers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician-scrapers/wales-positions","description":null,"fork":false,"url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions","forks_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/forks","keys_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/teams","hooks_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/hooks","issue_events_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/events","assignees_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/tags","blobs_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/languages","stargazers_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/stargazers","contributors_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/contributors","subscribers_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/subscribers","subscription_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/subscription","commits_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/merges","archive_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/downloads","issues_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/releases{/id}","deployments_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/deployments","created_at":"2017-04-02T20:41:01Z","updated_at":"2017-04-02T20:41:41Z","pushed_at":"2017-05-11T14:38:33Z","git_url":"git://github.com/everypolitician-scrapers/wales-positions.git","ssh_url":"git@github.com:everypolitician-scrapers/wales-positions.git","clone_url":"https://github.com/everypolitician-scrapers/wales-positions.git","svn_url":"https://github.com/everypolitician-scrapers/wales-positions","homepage":"https://github.com/everypolitician-scrapers/wales-positions","size":2,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"everypolitician-scrapers:master","ref":"master","sha":"28d75559282f116c4c8c1f10f9ca17b7b30b0a72","user":{"login":"everypolitician-scrapers","id":18443033,"avatar_url":"https://avatars2.githubusercontent.com/u/18443033?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician-scrapers","html_url":"https://github.com/everypolitician-scrapers","followers_url":"https://api.github.com/users/everypolitician-scrapers/followers","following_url":"https://api.github.com/users/everypolitician-scrapers/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician-scrapers/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician-scrapers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician-scrapers/subscriptions","organizations_url":"https://api.github.com/users/everypolitician-scrapers/orgs","repos_url":"https://api.github.com/users/everypolitician-scrapers/repos","events_url":"https://api.github.com/users/everypolitician-scrapers/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician-scrapers/received_events","type":"Organization","site_admin":false},"repo":{"id":87014780,"name":"wales-positions","full_name":"everypolitician-scrapers/wales-positions","owner":{"login":"everypolitician-scrapers","id":18443033,"avatar_url":"https://avatars2.githubusercontent.com/u/18443033?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician-scrapers","html_url":"https://github.com/everypolitician-scrapers","followers_url":"https://api.github.com/users/everypolitician-scrapers/followers","following_url":"https://api.github.com/users/everypolitician-scrapers/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician-scrapers/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician-scrapers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician-scrapers/subscriptions","organizations_url":"https://api.github.com/users/everypolitician-scrapers/orgs","repos_url":"https://api.github.com/users/everypolitician-scrapers/repos","events_url":"https://api.github.com/users/everypolitician-scrapers/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician-scrapers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician-scrapers/wales-positions","description":null,"fork":false,"url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions","forks_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/forks","keys_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/teams","hooks_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/hooks","issue_events_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/events","assignees_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/tags","blobs_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/languages","stargazers_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/stargazers","contributors_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/contributors","subscribers_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/subscribers","subscription_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/subscription","commits_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/merges","archive_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/downloads","issues_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/releases{/id}","deployments_url":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/deployments","created_at":"2017-04-02T20:41:01Z","updated_at":"2017-04-02T20:41:41Z","pushed_at":"2017-05-11T14:38:33Z","git_url":"git://github.com/everypolitician-scrapers/wales-positions.git","ssh_url":"git@github.com:everypolitician-scrapers/wales-positions.git","clone_url":"https://github.com/everypolitician-scrapers/wales-positions.git","svn_url":"https://github.com/everypolitician-scrapers/wales-positions","homepage":"https://github.com/everypolitician-scrapers/wales-positions","size":2,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/1"},"html":{"href":"https://github.com/everypolitician-scrapers/wales-positions/pull/1"},"issue":{"href":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/1"},"comments":{"href":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician-scrapers/wales-positions/statuses/c7f907142452d06c42aee3c1bf49ecd7e7a17eeb"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ondenman"}}