{"action":"created","comment":{"url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments/76025452","id":76025452,"diff_hunk":"@@ -82,6 +85,12 @@\n       (if (coll? result)\n         (map (partial into {}) reformatted)\n         reformatted)))\n+  (update! [this table what where]\n+    (exec this (hayt/update table (hayt/set-columns\n+                                   (reduce-kv #(assoc %1 (util/hyphen->underscore %2) %3)","path":"src/kixi/heimdall/components/database.clj","position":18,"original_position":18,"commit_id":"dcc6b479a1958dcf4222cc30de8c0376f6363aaa","original_commit_id":"dcc6b479a1958dcf4222cc30de8c0376f6363aaa","user":{"login":"acron0","id":812199,"avatar_url":"https://avatars.githubusercontent.com/u/812199?v=3","gravatar_id":"","url":"https://api.github.com/users/acron0","html_url":"https://github.com/acron0","followers_url":"https://api.github.com/users/acron0/followers","following_url":"https://api.github.com/users/acron0/following{/other_user}","gists_url":"https://api.github.com/users/acron0/gists{/gist_id}","starred_url":"https://api.github.com/users/acron0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acron0/subscriptions","organizations_url":"https://api.github.com/users/acron0/orgs","repos_url":"https://api.github.com/users/acron0/repos","events_url":"https://api.github.com/users/acron0/events{/privacy}","received_events_url":"https://api.github.com/users/acron0/received_events","type":"User","site_admin":false},"body":"Not sure you need `reduce-kv` here - the [replacer](https://github.com/MastodonC/kixi.heimdall/blob/dcc6b479a1958dcf4222cc30de8c0376f6363aaa/src/kixi/heimdall/util.clj) should cope with maps.","created_at":"2016-08-24T09:39:28Z","updated_at":"2016-08-24T09:39:28Z","html_url":"https://github.com/MastodonC/kixi.heimdall/pull/7#discussion_r76025452","pull_request_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments/76025452"},"html":{"href":"https://github.com/MastodonC/kixi.heimdall/pull/7#discussion_r76025452"},"pull_request":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/7","id":82198207,"html_url":"https://github.com/MastodonC/kixi.heimdall/pull/7","diff_url":"https://github.com/MastodonC/kixi.heimdall/pull/7.diff","patch_url":"https://github.com/MastodonC/kixi.heimdall/pull/7.patch","issue_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/7","number":7,"state":"open","locked":false,"title":"refresh token","user":{"login":"Eleonore9","id":2502761,"avatar_url":"https://avatars.githubusercontent.com/u/2502761?v=3","gravatar_id":"","url":"https://api.github.com/users/Eleonore9","html_url":"https://github.com/Eleonore9","followers_url":"https://api.github.com/users/Eleonore9/followers","following_url":"https://api.github.com/users/Eleonore9/following{/other_user}","gists_url":"https://api.github.com/users/Eleonore9/gists{/gist_id}","starred_url":"https://api.github.com/users/Eleonore9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eleonore9/subscriptions","organizations_url":"https://api.github.com/users/Eleonore9/orgs","repos_url":"https://api.github.com/users/Eleonore9/repos","events_url":"https://api.github.com/users/Eleonore9/events{/privacy}","received_events_url":"https://api.github.com/users/Eleonore9/received_events","type":"User","site_admin":false},"body":"* new table in cassandra `refresh_tokens`\r\n* create a token pair","created_at":"2016-08-22T14:12:46Z","updated_at":"2016-08-24T09:39:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f18dd44d3cb72b8dd8ee523d201208767ff65541","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/7/commits","review_comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/7/comments","review_comment_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/7/comments","statuses_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/dcc6b479a1958dcf4222cc30de8c0376f6363aaa","head":{"label":"MastodonC:feature/refresh-token","ref":"feature/refresh-token","sha":"dcc6b479a1958dcf4222cc30de8c0376f6363aaa","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":65217657,"name":"kixi.heimdall","full_name":"MastodonC/kixi.heimdall","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/kixi.heimdall","description":"kixi.heimdall","fork":false,"url":"https://api.github.com/repos/MastodonC/kixi.heimdall","forks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/forks","keys_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/teams","hooks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/events","assignees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/tags","blobs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/languages","stargazers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscription","commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/merges","archive_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/downloads","issues_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/releases{/id}","deployments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/deployments","created_at":"2016-08-08T15:51:34Z","updated_at":"2016-08-08T15:52:46Z","pushed_at":"2016-08-24T09:05:48Z","git_url":"git://github.com/MastodonC/kixi.heimdall.git","ssh_url":"git@github.com:MastodonC/kixi.heimdall.git","clone_url":"https://github.com/MastodonC/kixi.heimdall.git","svn_url":"https://github.com/MastodonC/kixi.heimdall","homepage":null,"size":748,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":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":"MastodonC:master","ref":"master","sha":"7d7f70b23adfda306c42479f3da0243b53d53f90","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":65217657,"name":"kixi.heimdall","full_name":"MastodonC/kixi.heimdall","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/kixi.heimdall","description":"kixi.heimdall","fork":false,"url":"https://api.github.com/repos/MastodonC/kixi.heimdall","forks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/forks","keys_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/teams","hooks_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/events","assignees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/tags","blobs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/languages","stargazers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/subscription","commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/merges","archive_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/downloads","issues_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/releases{/id}","deployments_url":"https://api.github.com/repos/MastodonC/kixi.heimdall/deployments","created_at":"2016-08-08T15:51:34Z","updated_at":"2016-08-08T15:52:46Z","pushed_at":"2016-08-24T09:05:48Z","git_url":"git://github.com/MastodonC/kixi.heimdall.git","ssh_url":"git@github.com:MastodonC/kixi.heimdall.git","clone_url":"https://github.com/MastodonC/kixi.heimdall.git","svn_url":"https://github.com/MastodonC/kixi.heimdall","homepage":null,"size":748,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":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/MastodonC/kixi.heimdall/pulls/7"},"html":{"href":"https://github.com/MastodonC/kixi.heimdall/pull/7"},"issue":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/7"},"comments":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/MastodonC/kixi.heimdall/statuses/dcc6b479a1958dcf4222cc30de8c0376f6363aaa"}}}}
{"actor":{"display_login":"acron0"}}