{"action":"created","comment":{"url":"https://api.github.com/repos/iterableio/api/pulls/comments/56784884","id":56784884,"diff_hunk":"@@ -0,0 +1,17 @@\n+defmodule Api.Repo.Migrations.CreateFrame do\n+  use Ecto.Migration\n+\n+  def change do\n+    create table(:frames) do\n+      add :content, :map, null: false\n+      add :iteration, :integer, null: false","path":"priv/repo/migrations/20160321051231_create_frame.exs","position":7,"original_position":7,"commit_id":"a595b04e0ba801e0d6cd57d4491eac195abb61cf","original_commit_id":"9ebba23276bb6caf79f439de4ba05b8f993fedd6","user":{"login":"Wojtechnology","id":6377160,"avatar_url":"https://avatars.githubusercontent.com/u/6377160?v=3","gravatar_id":"","url":"https://api.github.com/users/Wojtechnology","html_url":"https://github.com/Wojtechnology","followers_url":"https://api.github.com/users/Wojtechnology/followers","following_url":"https://api.github.com/users/Wojtechnology/following{/other_user}","gists_url":"https://api.github.com/users/Wojtechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/Wojtechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wojtechnology/subscriptions","organizations_url":"https://api.github.com/users/Wojtechnology/orgs","repos_url":"https://api.github.com/users/Wojtechnology/repos","events_url":"https://api.github.com/users/Wojtechnology/events{/privacy}","received_events_url":"https://api.github.com/users/Wojtechnology/received_events","type":"User","site_admin":false},"body":"Does postgres have some built in auto increment for this kind of stuff?","created_at":"2016-03-21T06:07:39Z","updated_at":"2016-03-21T06:07:39Z","html_url":"https://github.com/iterableio/api/pull/14#discussion_r56784884","pull_request_url":"https://api.github.com/repos/iterableio/api/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/iterableio/api/pulls/comments/56784884"},"html":{"href":"https://github.com/iterableio/api/pull/14#discussion_r56784884"},"pull_request":{"href":"https://api.github.com/repos/iterableio/api/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/iterableio/api/pulls/14","id":63523777,"html_url":"https://github.com/iterableio/api/pull/14","diff_url":"https://github.com/iterableio/api/pull/14.diff","patch_url":"https://github.com/iterableio/api/pull/14.patch","issue_url":"https://api.github.com/repos/iterableio/api/issues/14","number":14,"state":"open","locked":false,"title":"Frame and metric schemas","user":{"login":"Wojtechnology","id":6377160,"avatar_url":"https://avatars.githubusercontent.com/u/6377160?v=3","gravatar_id":"","url":"https://api.github.com/users/Wojtechnology","html_url":"https://github.com/Wojtechnology","followers_url":"https://api.github.com/users/Wojtechnology/followers","following_url":"https://api.github.com/users/Wojtechnology/following{/other_user}","gists_url":"https://api.github.com/users/Wojtechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/Wojtechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wojtechnology/subscriptions","organizations_url":"https://api.github.com/users/Wojtechnology/orgs","repos_url":"https://api.github.com/users/Wojtechnology/repos","events_url":"https://api.github.com/users/Wojtechnology/events{/privacy}","received_events_url":"https://api.github.com/users/Wojtechnology/received_events","type":"User","site_admin":false},"body":"Updated the sheets file with some changes that were made. Namely, we are only storing the utc timestamps for `frame`.","created_at":"2016-03-21T05:43:45Z","updated_at":"2016-03-21T06:07:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"471c35ad28830096b4b8c09559c294d68b883c97","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iterableio/api/pulls/14/commits","review_comments_url":"https://api.github.com/repos/iterableio/api/pulls/14/comments","review_comment_url":"https://api.github.com/repos/iterableio/api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iterableio/api/issues/14/comments","statuses_url":"https://api.github.com/repos/iterableio/api/statuses/a595b04e0ba801e0d6cd57d4491eac195abb61cf","head":{"label":"iterableio:ws-frame-metric-models","ref":"ws-frame-metric-models","sha":"a595b04e0ba801e0d6cd57d4491eac195abb61cf","user":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"repo":{"id":54282518,"name":"api","full_name":"iterableio/api","owner":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iterableio/api","description":"iterable api","fork":false,"url":"https://api.github.com/repos/iterableio/api","forks_url":"https://api.github.com/repos/iterableio/api/forks","keys_url":"https://api.github.com/repos/iterableio/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iterableio/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iterableio/api/teams","hooks_url":"https://api.github.com/repos/iterableio/api/hooks","issue_events_url":"https://api.github.com/repos/iterableio/api/issues/events{/number}","events_url":"https://api.github.com/repos/iterableio/api/events","assignees_url":"https://api.github.com/repos/iterableio/api/assignees{/user}","branches_url":"https://api.github.com/repos/iterableio/api/branches{/branch}","tags_url":"https://api.github.com/repos/iterableio/api/tags","blobs_url":"https://api.github.com/repos/iterableio/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iterableio/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iterableio/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/iterableio/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iterableio/api/statuses/{sha}","languages_url":"https://api.github.com/repos/iterableio/api/languages","stargazers_url":"https://api.github.com/repos/iterableio/api/stargazers","contributors_url":"https://api.github.com/repos/iterableio/api/contributors","subscribers_url":"https://api.github.com/repos/iterableio/api/subscribers","subscription_url":"https://api.github.com/repos/iterableio/api/subscription","commits_url":"https://api.github.com/repos/iterableio/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/iterableio/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/iterableio/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/iterableio/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/iterableio/api/contents/{+path}","compare_url":"https://api.github.com/repos/iterableio/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iterableio/api/merges","archive_url":"https://api.github.com/repos/iterableio/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iterableio/api/downloads","issues_url":"https://api.github.com/repos/iterableio/api/issues{/number}","pulls_url":"https://api.github.com/repos/iterableio/api/pulls{/number}","milestones_url":"https://api.github.com/repos/iterableio/api/milestones{/number}","notifications_url":"https://api.github.com/repos/iterableio/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iterableio/api/labels{/name}","releases_url":"https://api.github.com/repos/iterableio/api/releases{/id}","deployments_url":"https://api.github.com/repos/iterableio/api/deployments","created_at":"2016-03-19T19:06:46Z","updated_at":"2016-03-20T03:35:56Z","pushed_at":"2016-03-21T06:01:44Z","git_url":"git://github.com/iterableio/api.git","ssh_url":"git@github.com:iterableio/api.git","clone_url":"https://github.com/iterableio/api.git","svn_url":"https://github.com/iterableio/api","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"iterableio:master","ref":"master","sha":"abad1d0763f3c8c294287a4d9d0b2f8f03102441","user":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"repo":{"id":54282518,"name":"api","full_name":"iterableio/api","owner":{"login":"iterableio","id":17819951,"avatar_url":"https://avatars.githubusercontent.com/u/17819951?v=3","gravatar_id":"","url":"https://api.github.com/users/iterableio","html_url":"https://github.com/iterableio","followers_url":"https://api.github.com/users/iterableio/followers","following_url":"https://api.github.com/users/iterableio/following{/other_user}","gists_url":"https://api.github.com/users/iterableio/gists{/gist_id}","starred_url":"https://api.github.com/users/iterableio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterableio/subscriptions","organizations_url":"https://api.github.com/users/iterableio/orgs","repos_url":"https://api.github.com/users/iterableio/repos","events_url":"https://api.github.com/users/iterableio/events{/privacy}","received_events_url":"https://api.github.com/users/iterableio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iterableio/api","description":"iterable api","fork":false,"url":"https://api.github.com/repos/iterableio/api","forks_url":"https://api.github.com/repos/iterableio/api/forks","keys_url":"https://api.github.com/repos/iterableio/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iterableio/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iterableio/api/teams","hooks_url":"https://api.github.com/repos/iterableio/api/hooks","issue_events_url":"https://api.github.com/repos/iterableio/api/issues/events{/number}","events_url":"https://api.github.com/repos/iterableio/api/events","assignees_url":"https://api.github.com/repos/iterableio/api/assignees{/user}","branches_url":"https://api.github.com/repos/iterableio/api/branches{/branch}","tags_url":"https://api.github.com/repos/iterableio/api/tags","blobs_url":"https://api.github.com/repos/iterableio/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iterableio/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iterableio/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/iterableio/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iterableio/api/statuses/{sha}","languages_url":"https://api.github.com/repos/iterableio/api/languages","stargazers_url":"https://api.github.com/repos/iterableio/api/stargazers","contributors_url":"https://api.github.com/repos/iterableio/api/contributors","subscribers_url":"https://api.github.com/repos/iterableio/api/subscribers","subscription_url":"https://api.github.com/repos/iterableio/api/subscription","commits_url":"https://api.github.com/repos/iterableio/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/iterableio/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/iterableio/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/iterableio/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/iterableio/api/contents/{+path}","compare_url":"https://api.github.com/repos/iterableio/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iterableio/api/merges","archive_url":"https://api.github.com/repos/iterableio/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iterableio/api/downloads","issues_url":"https://api.github.com/repos/iterableio/api/issues{/number}","pulls_url":"https://api.github.com/repos/iterableio/api/pulls{/number}","milestones_url":"https://api.github.com/repos/iterableio/api/milestones{/number}","notifications_url":"https://api.github.com/repos/iterableio/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iterableio/api/labels{/name}","releases_url":"https://api.github.com/repos/iterableio/api/releases{/id}","deployments_url":"https://api.github.com/repos/iterableio/api/deployments","created_at":"2016-03-19T19:06:46Z","updated_at":"2016-03-20T03:35:56Z","pushed_at":"2016-03-21T06:01:44Z","git_url":"git://github.com/iterableio/api.git","ssh_url":"git@github.com:iterableio/api.git","clone_url":"https://github.com/iterableio/api.git","svn_url":"https://github.com/iterableio/api","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iterableio/api/pulls/14"},"html":{"href":"https://github.com/iterableio/api/pull/14"},"issue":{"href":"https://api.github.com/repos/iterableio/api/issues/14"},"comments":{"href":"https://api.github.com/repos/iterableio/api/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/iterableio/api/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/iterableio/api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iterableio/api/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/iterableio/api/statuses/a595b04e0ba801e0d6cd57d4491eac195abb61cf"}}}}