{"action":"created","comment":{"url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/comments/181089017","pull_request_review_id":111630269,"id":181089017,"diff_hunk":"@@ -0,0 +1,29 @@\n+CREATE DATABASE WORKSPACE_PILOT_DATABASE;\n+CREATE ROLE WORKSPACE_PILOT_ADMIN_ROLE;\n+GRANT OWNERSHIP ON DATABASE WORKSPACE_PILOT_DBNAME TO ROLE WORKSPACE_PILOT_ADMIN_ROLE;\n+GRANT ALL PRIVILEGES ON DATABASE WORKSPACE_PILOT_DBNAME TO ROLE ACCOUNTADMIN;","path":"init.sql","position":4,"original_position":4,"commit_id":"e8d87b9d830f81335ed4324882899bb5a74cbeaa","original_commit_id":"e8d87b9d830f81335ed4324882899bb5a74cbeaa","user":{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false},"body":"jasně!","created_at":"2018-04-12T13:53:09Z","updated_at":"2018-04-12T13:53:09Z","html_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot/pull/1#discussion_r181089017","pull_request_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/comments/181089017"},"html":{"href":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot/pull/1#discussion_r181089017"},"pull_request":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1"}},"in_reply_to_id":181073875},"pull_request":{"url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1","id":181188848,"html_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot/pull/1","diff_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot/pull/1.diff","patch_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot/pull/1.patch","issue_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/1","number":1,"state":"open","locked":false,"title":"init","user":{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-12T12:38:24Z","updated_at":"2018-04-12T13:53:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0acf11c69b2d0f9aabdcf37c30712fb0d552ff0","assignee":{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false},"assignees":[{"login":"ondrejhlavacek","id":497675,"avatar_url":"https://avatars1.githubusercontent.com/u/497675?v=4","gravatar_id":"","url":"https://api.github.com/users/ondrejhlavacek","html_url":"https://github.com/ondrejhlavacek","followers_url":"https://api.github.com/users/ondrejhlavacek/followers","following_url":"https://api.github.com/users/ondrejhlavacek/following{/other_user}","gists_url":"https://api.github.com/users/ondrejhlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/ondrejhlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ondrejhlavacek/subscriptions","organizations_url":"https://api.github.com/users/ondrejhlavacek/orgs","repos_url":"https://api.github.com/users/ondrejhlavacek/repos","events_url":"https://api.github.com/users/ondrejhlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/ondrejhlavacek/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1/commits","review_comments_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1/comments","review_comment_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/1/comments","statuses_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/statuses/e8d87b9d830f81335ed4324882899bb5a74cbeaa","head":{"label":"keboola:init","ref":"init","sha":"e8d87b9d830f81335ed4324882899bb5a74cbeaa","user":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"repo":{"id":129238557,"name":"snowflake-workspace-readonly-user-pilot","full_name":"keboola/snowflake-workspace-readonly-user-pilot","owner":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot","description":null,"fork":false,"url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot","forks_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/forks","keys_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/teams","hooks_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/hooks","issue_events_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/events{/number}","events_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/events","assignees_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/assignees{/user}","branches_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/branches{/branch}","tags_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/tags","blobs_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/statuses/{sha}","languages_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/languages","stargazers_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/stargazers","contributors_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/contributors","subscribers_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/subscribers","subscription_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/subscription","commits_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/contents/{+path}","compare_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/merges","archive_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/downloads","issues_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues{/number}","pulls_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls{/number}","milestones_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/milestones{/number}","notifications_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/labels{/name}","releases_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/releases{/id}","deployments_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/deployments","created_at":"2018-04-12T11:08:55Z","updated_at":"2018-04-12T12:32:22Z","pushed_at":"2018-04-12T12:38:25Z","git_url":"git://github.com/keboola/snowflake-workspace-readonly-user-pilot.git","ssh_url":"git@github.com:keboola/snowflake-workspace-readonly-user-pilot.git","clone_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot.git","svn_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"keboola:master","ref":"master","sha":"a088c57f7c82baec7537469315620733272e0139","user":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"repo":{"id":129238557,"name":"snowflake-workspace-readonly-user-pilot","full_name":"keboola/snowflake-workspace-readonly-user-pilot","owner":{"login":"keboola","id":1424387,"avatar_url":"https://avatars1.githubusercontent.com/u/1424387?v=4","gravatar_id":"","url":"https://api.github.com/users/keboola","html_url":"https://github.com/keboola","followers_url":"https://api.github.com/users/keboola/followers","following_url":"https://api.github.com/users/keboola/following{/other_user}","gists_url":"https://api.github.com/users/keboola/gists{/gist_id}","starred_url":"https://api.github.com/users/keboola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keboola/subscriptions","organizations_url":"https://api.github.com/users/keboola/orgs","repos_url":"https://api.github.com/users/keboola/repos","events_url":"https://api.github.com/users/keboola/events{/privacy}","received_events_url":"https://api.github.com/users/keboola/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot","description":null,"fork":false,"url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot","forks_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/forks","keys_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/teams","hooks_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/hooks","issue_events_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/events{/number}","events_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/events","assignees_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/assignees{/user}","branches_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/branches{/branch}","tags_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/tags","blobs_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/statuses/{sha}","languages_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/languages","stargazers_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/stargazers","contributors_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/contributors","subscribers_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/subscribers","subscription_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/subscription","commits_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/contents/{+path}","compare_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/merges","archive_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/downloads","issues_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues{/number}","pulls_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls{/number}","milestones_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/milestones{/number}","notifications_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/labels{/name}","releases_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/releases{/id}","deployments_url":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/deployments","created_at":"2018-04-12T11:08:55Z","updated_at":"2018-04-12T12:32:22Z","pushed_at":"2018-04-12T12:38:25Z","git_url":"git://github.com/keboola/snowflake-workspace-readonly-user-pilot.git","ssh_url":"git@github.com:keboola/snowflake-workspace-readonly-user-pilot.git","clone_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot.git","svn_url":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1"},"html":{"href":"https://github.com/keboola/snowflake-workspace-readonly-user-pilot/pull/1"},"issue":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/1"},"comments":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/keboola/snowflake-workspace-readonly-user-pilot/statuses/e8d87b9d830f81335ed4324882899bb5a74cbeaa"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ondrejhlavacek"}}