{"action":"created","comment":{"url":"https://api.github.com/repos/mentat-labs/bepo/pulls/comments/49173290","id":49173290,"diff_hunk":"@@ -0,0 +1,35 @@\n+@echo off\r\n+\r\n+echo Shutting down connections ...\r\n+psql -Upostgres -q -c \"SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname = 'bepo';\" > NUL\r\n+\r\n+echo Dropping database ...\r\n+psql -Upostgres -q -c \"DROP DATABASE bepo;\"\r\n+\r\n+echo Dropping role ...\r\n+psql -Upostgres -q -c \"DROP ROLE bepo;\"\r\n+\r\n+echo Creating role ...\r\n+psql -Upostgres -q -c \"CREATE ROLE bepo WITH LOGIN SUPERUSER PASSWORD 'bepo';\"\r","path":"model/sql/db-update.bat","position":13,"original_position":13,"commit_id":"32816094c6e27dd92a991b3ff8d504a3859d578a","original_commit_id":"32816094c6e27dd92a991b3ff8d504a3859d578a","user":{"login":"dstimac","id":1943586,"avatar_url":"https://avatars.githubusercontent.com/u/1943586?v=3","gravatar_id":"","url":"https://api.github.com/users/dstimac","html_url":"https://github.com/dstimac","followers_url":"https://api.github.com/users/dstimac/followers","following_url":"https://api.github.com/users/dstimac/following{/other_user}","gists_url":"https://api.github.com/users/dstimac/gists{/gist_id}","starred_url":"https://api.github.com/users/dstimac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstimac/subscriptions","organizations_url":"https://api.github.com/users/dstimac/orgs","repos_url":"https://api.github.com/users/dstimac/repos","events_url":"https://api.github.com/users/dstimac/events{/privacy}","received_events_url":"https://api.github.com/users/dstimac/received_events","type":"User","site_admin":false},"body":"SUPERUSER -> NOSUPERUSER, pwwwease","created_at":"2016-01-08T10:02:08Z","updated_at":"2016-01-08T10:02:08Z","html_url":"https://github.com/mentat-labs/bepo/pull/2#discussion_r49173290","pull_request_url":"https://api.github.com/repos/mentat-labs/bepo/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mentat-labs/bepo/pulls/comments/49173290"},"html":{"href":"https://github.com/mentat-labs/bepo/pull/2#discussion_r49173290"},"pull_request":{"href":"https://api.github.com/repos/mentat-labs/bepo/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mentat-labs/bepo/pulls/2","id":55442878,"html_url":"https://github.com/mentat-labs/bepo/pull/2","diff_url":"https://github.com/mentat-labs/bepo/pull/2.diff","patch_url":"https://github.com/mentat-labs/bepo/pull/2.patch","issue_url":"https://api.github.com/repos/mentat-labs/bepo/issues/2","number":2,"state":"open","locked":false,"title":"Added client/server compiled models.","user":{"login":"melezov","id":551485,"avatar_url":"https://avatars.githubusercontent.com/u/551485?v=3","gravatar_id":"","url":"https://api.github.com/users/melezov","html_url":"https://github.com/melezov","followers_url":"https://api.github.com/users/melezov/followers","following_url":"https://api.github.com/users/melezov/following{/other_user}","gists_url":"https://api.github.com/users/melezov/gists{/gist_id}","starred_url":"https://api.github.com/users/melezov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melezov/subscriptions","organizations_url":"https://api.github.com/users/melezov/orgs","repos_url":"https://api.github.com/users/melezov/repos","events_url":"https://api.github.com/users/melezov/events{/privacy}","received_events_url":"https://api.github.com/users/melezov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-08T09:53:38Z","updated_at":"2016-01-08T10:02:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a017e4cbe59dfafcd5d0526aab51f9b688e13277","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mentat-labs/bepo/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mentat-labs/bepo/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mentat-labs/bepo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mentat-labs/bepo/issues/2/comments","statuses_url":"https://api.github.com/repos/mentat-labs/bepo/statuses/32816094c6e27dd92a991b3ff8d504a3859d578a","head":{"label":"melezov:master","ref":"master","sha":"32816094c6e27dd92a991b3ff8d504a3859d578a","user":{"login":"melezov","id":551485,"avatar_url":"https://avatars.githubusercontent.com/u/551485?v=3","gravatar_id":"","url":"https://api.github.com/users/melezov","html_url":"https://github.com/melezov","followers_url":"https://api.github.com/users/melezov/followers","following_url":"https://api.github.com/users/melezov/following{/other_user}","gists_url":"https://api.github.com/users/melezov/gists{/gist_id}","starred_url":"https://api.github.com/users/melezov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melezov/subscriptions","organizations_url":"https://api.github.com/users/melezov/orgs","repos_url":"https://api.github.com/users/melezov/repos","events_url":"https://api.github.com/users/melezov/events{/privacy}","received_events_url":"https://api.github.com/users/melezov/received_events","type":"User","site_admin":false},"repo":{"id":49218950,"name":"bepo","full_name":"melezov/bepo","owner":{"login":"melezov","id":551485,"avatar_url":"https://avatars.githubusercontent.com/u/551485?v=3","gravatar_id":"","url":"https://api.github.com/users/melezov","html_url":"https://github.com/melezov","followers_url":"https://api.github.com/users/melezov/followers","following_url":"https://api.github.com/users/melezov/following{/other_user}","gists_url":"https://api.github.com/users/melezov/gists{/gist_id}","starred_url":"https://api.github.com/users/melezov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melezov/subscriptions","organizations_url":"https://api.github.com/users/melezov/orgs","repos_url":"https://api.github.com/users/melezov/repos","events_url":"https://api.github.com/users/melezov/events{/privacy}","received_events_url":"https://api.github.com/users/melezov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/melezov/bepo","description":"Service for sending asynchronous alerts and messages (email, SMS, etc)","fork":true,"url":"https://api.github.com/repos/melezov/bepo","forks_url":"https://api.github.com/repos/melezov/bepo/forks","keys_url":"https://api.github.com/repos/melezov/bepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/melezov/bepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/melezov/bepo/teams","hooks_url":"https://api.github.com/repos/melezov/bepo/hooks","issue_events_url":"https://api.github.com/repos/melezov/bepo/issues/events{/number}","events_url":"https://api.github.com/repos/melezov/bepo/events","assignees_url":"https://api.github.com/repos/melezov/bepo/assignees{/user}","branches_url":"https://api.github.com/repos/melezov/bepo/branches{/branch}","tags_url":"https://api.github.com/repos/melezov/bepo/tags","blobs_url":"https://api.github.com/repos/melezov/bepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/melezov/bepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/melezov/bepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/melezov/bepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/melezov/bepo/statuses/{sha}","languages_url":"https://api.github.com/repos/melezov/bepo/languages","stargazers_url":"https://api.github.com/repos/melezov/bepo/stargazers","contributors_url":"https://api.github.com/repos/melezov/bepo/contributors","subscribers_url":"https://api.github.com/repos/melezov/bepo/subscribers","subscription_url":"https://api.github.com/repos/melezov/bepo/subscription","commits_url":"https://api.github.com/repos/melezov/bepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/melezov/bepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/melezov/bepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/melezov/bepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/melezov/bepo/contents/{+path}","compare_url":"https://api.github.com/repos/melezov/bepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/melezov/bepo/merges","archive_url":"https://api.github.com/repos/melezov/bepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/melezov/bepo/downloads","issues_url":"https://api.github.com/repos/melezov/bepo/issues{/number}","pulls_url":"https://api.github.com/repos/melezov/bepo/pulls{/number}","milestones_url":"https://api.github.com/repos/melezov/bepo/milestones{/number}","notifications_url":"https://api.github.com/repos/melezov/bepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/melezov/bepo/labels{/name}","releases_url":"https://api.github.com/repos/melezov/bepo/releases{/id}","created_at":"2016-01-07T17:19:18Z","updated_at":"2016-01-08T09:51:52Z","pushed_at":"2016-01-08T09:53:04Z","git_url":"git://github.com/melezov/bepo.git","ssh_url":"git@github.com:melezov/bepo.git","clone_url":"https://github.com/melezov/bepo.git","svn_url":"https://github.com/melezov/bepo","homepage":null,"size":3573,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"mentat-labs:master","ref":"master","sha":"5252a827fd02ba50d51dac0ae40887dda5c61188","user":{"login":"mentat-labs","id":9799945,"avatar_url":"https://avatars.githubusercontent.com/u/9799945?v=3","gravatar_id":"","url":"https://api.github.com/users/mentat-labs","html_url":"https://github.com/mentat-labs","followers_url":"https://api.github.com/users/mentat-labs/followers","following_url":"https://api.github.com/users/mentat-labs/following{/other_user}","gists_url":"https://api.github.com/users/mentat-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/mentat-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mentat-labs/subscriptions","organizations_url":"https://api.github.com/users/mentat-labs/orgs","repos_url":"https://api.github.com/users/mentat-labs/repos","events_url":"https://api.github.com/users/mentat-labs/events{/privacy}","received_events_url":"https://api.github.com/users/mentat-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":49216483,"name":"bepo","full_name":"mentat-labs/bepo","owner":{"login":"mentat-labs","id":9799945,"avatar_url":"https://avatars.githubusercontent.com/u/9799945?v=3","gravatar_id":"","url":"https://api.github.com/users/mentat-labs","html_url":"https://github.com/mentat-labs","followers_url":"https://api.github.com/users/mentat-labs/followers","following_url":"https://api.github.com/users/mentat-labs/following{/other_user}","gists_url":"https://api.github.com/users/mentat-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/mentat-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mentat-labs/subscriptions","organizations_url":"https://api.github.com/users/mentat-labs/orgs","repos_url":"https://api.github.com/users/mentat-labs/repos","events_url":"https://api.github.com/users/mentat-labs/events{/privacy}","received_events_url":"https://api.github.com/users/mentat-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mentat-labs/bepo","description":"Service for sending asynchronous alerts and messages (email, SMS, etc)","fork":false,"url":"https://api.github.com/repos/mentat-labs/bepo","forks_url":"https://api.github.com/repos/mentat-labs/bepo/forks","keys_url":"https://api.github.com/repos/mentat-labs/bepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mentat-labs/bepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mentat-labs/bepo/teams","hooks_url":"https://api.github.com/repos/mentat-labs/bepo/hooks","issue_events_url":"https://api.github.com/repos/mentat-labs/bepo/issues/events{/number}","events_url":"https://api.github.com/repos/mentat-labs/bepo/events","assignees_url":"https://api.github.com/repos/mentat-labs/bepo/assignees{/user}","branches_url":"https://api.github.com/repos/mentat-labs/bepo/branches{/branch}","tags_url":"https://api.github.com/repos/mentat-labs/bepo/tags","blobs_url":"https://api.github.com/repos/mentat-labs/bepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mentat-labs/bepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mentat-labs/bepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/mentat-labs/bepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mentat-labs/bepo/statuses/{sha}","languages_url":"https://api.github.com/repos/mentat-labs/bepo/languages","stargazers_url":"https://api.github.com/repos/mentat-labs/bepo/stargazers","contributors_url":"https://api.github.com/repos/mentat-labs/bepo/contributors","subscribers_url":"https://api.github.com/repos/mentat-labs/bepo/subscribers","subscription_url":"https://api.github.com/repos/mentat-labs/bepo/subscription","commits_url":"https://api.github.com/repos/mentat-labs/bepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/mentat-labs/bepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/mentat-labs/bepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/mentat-labs/bepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/mentat-labs/bepo/contents/{+path}","compare_url":"https://api.github.com/repos/mentat-labs/bepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mentat-labs/bepo/merges","archive_url":"https://api.github.com/repos/mentat-labs/bepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mentat-labs/bepo/downloads","issues_url":"https://api.github.com/repos/mentat-labs/bepo/issues{/number}","pulls_url":"https://api.github.com/repos/mentat-labs/bepo/pulls{/number}","milestones_url":"https://api.github.com/repos/mentat-labs/bepo/milestones{/number}","notifications_url":"https://api.github.com/repos/mentat-labs/bepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mentat-labs/bepo/labels{/name}","releases_url":"https://api.github.com/repos/mentat-labs/bepo/releases{/id}","created_at":"2016-01-07T16:34:12Z","updated_at":"2016-01-07T16:34:12Z","pushed_at":"2016-01-08T09:53:38Z","git_url":"git://github.com/mentat-labs/bepo.git","ssh_url":"git@github.com:mentat-labs/bepo.git","clone_url":"https://github.com/mentat-labs/bepo.git","svn_url":"https://github.com/mentat-labs/bepo","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mentat-labs/bepo/pulls/2"},"html":{"href":"https://github.com/mentat-labs/bepo/pull/2"},"issue":{"href":"https://api.github.com/repos/mentat-labs/bepo/issues/2"},"comments":{"href":"https://api.github.com/repos/mentat-labs/bepo/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mentat-labs/bepo/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mentat-labs/bepo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mentat-labs/bepo/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mentat-labs/bepo/statuses/32816094c6e27dd92a991b3ff8d504a3859d578a"}}}}