{"action":"opened","number":199,"pull_request":{"url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/199","id":236501051,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NTAxMDUx","html_url":"https://github.com/horizontalsystems/bitcoin-kit-ios/pull/199","diff_url":"https://github.com/horizontalsystems/bitcoin-kit-ios/pull/199.diff","patch_url":"https://github.com/horizontalsystems/bitcoin-kit-ios/pull/199.patch","issue_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/199","number":199,"state":"open","locked":false,"title":"Clean database if migration needed.","user":{"login":"ant013","id":13083244,"node_id":"MDQ6VXNlcjEzMDgzMjQ0","avatar_url":"https://avatars2.githubusercontent.com/u/13083244?v=4","gravatar_id":"","url":"https://api.github.com/users/ant013","html_url":"https://github.com/ant013","followers_url":"https://api.github.com/users/ant013/followers","following_url":"https://api.github.com/users/ant013/following{/other_user}","gists_url":"https://api.github.com/users/ant013/gists{/gist_id}","starred_url":"https://api.github.com/users/ant013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant013/subscriptions","organizations_url":"https://api.github.com/users/ant013/orgs","repos_url":"https://api.github.com/users/ant013/repos","events_url":"https://api.github.com/users/ant013/events{/privacy}","received_events_url":"https://api.github.com/users/ant013/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-06T11:45:07Z","updated_at":"2018-12-06T11:45:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/199/commits","review_comments_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/199/comments","review_comment_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/199/comments","statuses_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/statuses/077ddffaf05e6d5b3f7c765b000b60a825838806","head":{"label":"horizontalsystems:clean_db","ref":"clean_db","sha":"077ddffaf05e6d5b3f7c765b000b60a825838806","user":{"login":"horizontalsystems","id":40654219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjU0MjE5","avatar_url":"https://avatars0.githubusercontent.com/u/40654219?v=4","gravatar_id":"","url":"https://api.github.com/users/horizontalsystems","html_url":"https://github.com/horizontalsystems","followers_url":"https://api.github.com/users/horizontalsystems/followers","following_url":"https://api.github.com/users/horizontalsystems/following{/other_user}","gists_url":"https://api.github.com/users/horizontalsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/horizontalsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horizontalsystems/subscriptions","organizations_url":"https://api.github.com/users/horizontalsystems/orgs","repos_url":"https://api.github.com/users/horizontalsystems/repos","events_url":"https://api.github.com/users/horizontalsystems/events{/privacy}","received_events_url":"https://api.github.com/users/horizontalsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":146595257,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY1OTUyNTc=","name":"bitcoin-kit-ios","full_name":"horizontalsystems/bitcoin-kit-ios","private":false,"owner":{"login":"horizontalsystems","id":40654219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjU0MjE5","avatar_url":"https://avatars0.githubusercontent.com/u/40654219?v=4","gravatar_id":"","url":"https://api.github.com/users/horizontalsystems","html_url":"https://github.com/horizontalsystems","followers_url":"https://api.github.com/users/horizontalsystems/followers","following_url":"https://api.github.com/users/horizontalsystems/following{/other_user}","gists_url":"https://api.github.com/users/horizontalsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/horizontalsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horizontalsystems/subscriptions","organizations_url":"https://api.github.com/users/horizontalsystems/orgs","repos_url":"https://api.github.com/users/horizontalsystems/repos","events_url":"https://api.github.com/users/horizontalsystems/events{/privacy}","received_events_url":"https://api.github.com/users/horizontalsystems/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/horizontalsystems/bitcoin-kit-ios","description":"Full SPV wallet toolkit implementation for Bitcoin and Bitcoin Cash protocols. Implemented on Swift.","fork":false,"url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios","forks_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/forks","keys_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/teams","hooks_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/hooks","issue_events_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/events{/number}","events_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/events","assignees_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/assignees{/user}","branches_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/branches{/branch}","tags_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/tags","blobs_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/languages","stargazers_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/stargazers","contributors_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/contributors","subscribers_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/subscribers","subscription_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/subscription","commits_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/contents/{+path}","compare_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/merges","archive_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/downloads","issues_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues{/number}","pulls_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/labels{/name}","releases_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/releases{/id}","deployments_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/deployments","created_at":"2018-08-29T12:17:09Z","updated_at":"2018-12-06T11:41:18Z","pushed_at":"2018-12-06T11:44:54Z","git_url":"git://github.com/horizontalsystems/bitcoin-kit-ios.git","ssh_url":"git@github.com:horizontalsystems/bitcoin-kit-ios.git","clone_url":"https://github.com/horizontalsystems/bitcoin-kit-ios.git","svn_url":"https://github.com/horizontalsystems/bitcoin-kit-ios","homepage":"","size":28559,"stargazers_count":10,"watchers_count":10,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":5,"watchers":10,"default_branch":"master"}},"base":{"label":"horizontalsystems:master","ref":"master","sha":"ad029bdb919eaa4e0d3a97aaa6ff8d227a763ce2","user":{"login":"horizontalsystems","id":40654219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjU0MjE5","avatar_url":"https://avatars0.githubusercontent.com/u/40654219?v=4","gravatar_id":"","url":"https://api.github.com/users/horizontalsystems","html_url":"https://github.com/horizontalsystems","followers_url":"https://api.github.com/users/horizontalsystems/followers","following_url":"https://api.github.com/users/horizontalsystems/following{/other_user}","gists_url":"https://api.github.com/users/horizontalsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/horizontalsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horizontalsystems/subscriptions","organizations_url":"https://api.github.com/users/horizontalsystems/orgs","repos_url":"https://api.github.com/users/horizontalsystems/repos","events_url":"https://api.github.com/users/horizontalsystems/events{/privacy}","received_events_url":"https://api.github.com/users/horizontalsystems/received_events","type":"Organization","site_admin":false},"repo":{"id":146595257,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY1OTUyNTc=","name":"bitcoin-kit-ios","full_name":"horizontalsystems/bitcoin-kit-ios","private":false,"owner":{"login":"horizontalsystems","id":40654219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNjU0MjE5","avatar_url":"https://avatars0.githubusercontent.com/u/40654219?v=4","gravatar_id":"","url":"https://api.github.com/users/horizontalsystems","html_url":"https://github.com/horizontalsystems","followers_url":"https://api.github.com/users/horizontalsystems/followers","following_url":"https://api.github.com/users/horizontalsystems/following{/other_user}","gists_url":"https://api.github.com/users/horizontalsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/horizontalsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horizontalsystems/subscriptions","organizations_url":"https://api.github.com/users/horizontalsystems/orgs","repos_url":"https://api.github.com/users/horizontalsystems/repos","events_url":"https://api.github.com/users/horizontalsystems/events{/privacy}","received_events_url":"https://api.github.com/users/horizontalsystems/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/horizontalsystems/bitcoin-kit-ios","description":"Full SPV wallet toolkit implementation for Bitcoin and Bitcoin Cash protocols. Implemented on Swift.","fork":false,"url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios","forks_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/forks","keys_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/teams","hooks_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/hooks","issue_events_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/events{/number}","events_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/events","assignees_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/assignees{/user}","branches_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/branches{/branch}","tags_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/tags","blobs_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/languages","stargazers_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/stargazers","contributors_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/contributors","subscribers_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/subscribers","subscription_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/subscription","commits_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/contents/{+path}","compare_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/merges","archive_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/downloads","issues_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues{/number}","pulls_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/labels{/name}","releases_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/releases{/id}","deployments_url":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/deployments","created_at":"2018-08-29T12:17:09Z","updated_at":"2018-12-06T11:41:18Z","pushed_at":"2018-12-06T11:44:54Z","git_url":"git://github.com/horizontalsystems/bitcoin-kit-ios.git","ssh_url":"git@github.com:horizontalsystems/bitcoin-kit-ios.git","clone_url":"https://github.com/horizontalsystems/bitcoin-kit-ios.git","svn_url":"https://github.com/horizontalsystems/bitcoin-kit-ios","homepage":"","size":28559,"stargazers_count":10,"watchers_count":10,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":5,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/199"},"html":{"href":"https://github.com/horizontalsystems/bitcoin-kit-ios/pull/199"},"issue":{"href":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/199"},"comments":{"href":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/horizontalsystems/bitcoin-kit-ios/statuses/077ddffaf05e6d5b3f7c765b000b60a825838806"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"ant013"}}