{"action":"created","comment":{"url":"https://api.github.com/repos/edenlabllc/report.api/pulls/comments/227682714","pull_request_review_id":167778168,"id":227682714,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzY4MjcxNA==","diff_hunk":"@@ -0,0 +1,24 @@\n+defmodule Core.Repo.Migrations.AddRelativeLegalEntities do\n+  use Ecto.Migration\n+\n+  def change do\n+    create table(:related_legal_entities, primary_key: false) do\n+      add(:id, :uuid, primary_key: true)\n+      add(:reason, :string)\n+      add(:merged_from_id, :uuid, null: false)\n+      add(:merged_to_id, :uuid, null: false)\n+      add(:is_active, :boolean, null: false)\n+      add(:inserted_by, :uuid, null: false)\n+\n+      timestamps(type: :utc_datetime, updated_at: false)\n+    end\n+\n+    create(\n+      unique_index(","path":"apps/core/priv/repo/migrations/20181023134458_add_relative_legal_entities.exs","position":17,"original_position":17,"commit_id":"69da4ee6157b802df855272ab179d119e320d4bf","original_commit_id":"69da4ee6157b802df855272ab179d119e320d4bf","user":{"login":"AlexKovalevych","id":577231,"node_id":"MDQ6VXNlcjU3NzIzMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/577231?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexKovalevych","html_url":"https://github.com/AlexKovalevych","followers_url":"https://api.github.com/users/AlexKovalevych/followers","following_url":"https://api.github.com/users/AlexKovalevych/following{/other_user}","gists_url":"https://api.github.com/users/AlexKovalevych/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKovalevych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKovalevych/subscriptions","organizations_url":"https://api.github.com/users/AlexKovalevych/orgs","repos_url":"https://api.github.com/users/AlexKovalevych/repos","events_url":"https://api.github.com/users/AlexKovalevych/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKovalevych/received_events","type":"User","site_admin":false},"body":"probably we need to have unique index at the original db","created_at":"2018-10-24T08:11:08Z","updated_at":"2018-10-24T08:15:23Z","html_url":"https://github.com/edenlabllc/report.api/pull/146#discussion_r227682714","pull_request_url":"https://api.github.com/repos/edenlabllc/report.api/pulls/146","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/edenlabllc/report.api/pulls/comments/227682714"},"html":{"href":"https://github.com/edenlabllc/report.api/pull/146#discussion_r227682714"},"pull_request":{"href":"https://api.github.com/repos/edenlabllc/report.api/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/edenlabllc/report.api/pulls/146","id":225303372,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MzAzMzcy","html_url":"https://github.com/edenlabllc/report.api/pull/146","diff_url":"https://github.com/edenlabllc/report.api/pull/146.diff","patch_url":"https://github.com/edenlabllc/report.api/pull/146.patch","issue_url":"https://api.github.com/repos/edenlabllc/report.api/issues/146","number":146,"state":"open","locked":false,"title":"Merged le#3131","user":{"login":"marinakr","id":8307760,"node_id":"MDQ6VXNlcjgzMDc3NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/8307760?v=4","gravatar_id":"","url":"https://api.github.com/users/marinakr","html_url":"https://github.com/marinakr","followers_url":"https://api.github.com/users/marinakr/followers","following_url":"https://api.github.com/users/marinakr/following{/other_user}","gists_url":"https://api.github.com/users/marinakr/gists{/gist_id}","starred_url":"https://api.github.com/users/marinakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinakr/subscriptions","organizations_url":"https://api.github.com/users/marinakr/orgs","repos_url":"https://api.github.com/users/marinakr/repos","events_url":"https://api.github.com/users/marinakr/events{/privacy}","received_events_url":"https://api.github.com/users/marinakr/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-24T08:08:18Z","updated_at":"2018-10-24T08:15:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37e0619293cca570b1bbf931f6aa0918d9e627ac","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/edenlabllc/report.api/pulls/146/commits","review_comments_url":"https://api.github.com/repos/edenlabllc/report.api/pulls/146/comments","review_comment_url":"https://api.github.com/repos/edenlabllc/report.api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edenlabllc/report.api/issues/146/comments","statuses_url":"https://api.github.com/repos/edenlabllc/report.api/statuses/69da4ee6157b802df855272ab179d119e320d4bf","head":{"label":"edenlabllc:merged_le#3131","ref":"merged_le#3131","sha":"69da4ee6157b802df855272ab179d119e320d4bf","user":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"repo":{"id":95792677,"node_id":"MDEwOlJlcG9zaXRvcnk5NTc5MjY3Nw==","name":"report.api","full_name":"edenlabllc/report.api","private":false,"owner":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edenlabllc/report.api","description":"Service that will generate reports for projects that related to Ukrainian Health Services government institution","fork":false,"url":"https://api.github.com/repos/edenlabllc/report.api","forks_url":"https://api.github.com/repos/edenlabllc/report.api/forks","keys_url":"https://api.github.com/repos/edenlabllc/report.api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenlabllc/report.api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenlabllc/report.api/teams","hooks_url":"https://api.github.com/repos/edenlabllc/report.api/hooks","issue_events_url":"https://api.github.com/repos/edenlabllc/report.api/issues/events{/number}","events_url":"https://api.github.com/repos/edenlabllc/report.api/events","assignees_url":"https://api.github.com/repos/edenlabllc/report.api/assignees{/user}","branches_url":"https://api.github.com/repos/edenlabllc/report.api/branches{/branch}","tags_url":"https://api.github.com/repos/edenlabllc/report.api/tags","blobs_url":"https://api.github.com/repos/edenlabllc/report.api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenlabllc/report.api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenlabllc/report.api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenlabllc/report.api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenlabllc/report.api/statuses/{sha}","languages_url":"https://api.github.com/repos/edenlabllc/report.api/languages","stargazers_url":"https://api.github.com/repos/edenlabllc/report.api/stargazers","contributors_url":"https://api.github.com/repos/edenlabllc/report.api/contributors","subscribers_url":"https://api.github.com/repos/edenlabllc/report.api/subscribers","subscription_url":"https://api.github.com/repos/edenlabllc/report.api/subscription","commits_url":"https://api.github.com/repos/edenlabllc/report.api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenlabllc/report.api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenlabllc/report.api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenlabllc/report.api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenlabllc/report.api/contents/{+path}","compare_url":"https://api.github.com/repos/edenlabllc/report.api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenlabllc/report.api/merges","archive_url":"https://api.github.com/repos/edenlabllc/report.api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenlabllc/report.api/downloads","issues_url":"https://api.github.com/repos/edenlabllc/report.api/issues{/number}","pulls_url":"https://api.github.com/repos/edenlabllc/report.api/pulls{/number}","milestones_url":"https://api.github.com/repos/edenlabllc/report.api/milestones{/number}","notifications_url":"https://api.github.com/repos/edenlabllc/report.api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenlabllc/report.api/labels{/name}","releases_url":"https://api.github.com/repos/edenlabllc/report.api/releases{/id}","deployments_url":"https://api.github.com/repos/edenlabllc/report.api/deployments","created_at":"2017-06-29T15:37:19Z","updated_at":"2018-10-08T14:57:41Z","pushed_at":"2018-10-24T08:08:18Z","git_url":"git://github.com/edenlabllc/report.api.git","ssh_url":"git@github.com:edenlabllc/report.api.git","clone_url":"https://github.com/edenlabllc/report.api.git","svn_url":"https://github.com/edenlabllc/report.api","homepage":"","size":1851,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"edenlabllc:develop","ref":"develop","sha":"c9c6336db8803e95d679685ae66833da586f289f","user":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"repo":{"id":95792677,"node_id":"MDEwOlJlcG9zaXRvcnk5NTc5MjY3Nw==","name":"report.api","full_name":"edenlabllc/report.api","private":false,"owner":{"login":"edenlabllc","id":29564877,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NTY0ODc3","avatar_url":"https://avatars1.githubusercontent.com/u/29564877?v=4","gravatar_id":"","url":"https://api.github.com/users/edenlabllc","html_url":"https://github.com/edenlabllc","followers_url":"https://api.github.com/users/edenlabllc/followers","following_url":"https://api.github.com/users/edenlabllc/following{/other_user}","gists_url":"https://api.github.com/users/edenlabllc/gists{/gist_id}","starred_url":"https://api.github.com/users/edenlabllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenlabllc/subscriptions","organizations_url":"https://api.github.com/users/edenlabllc/orgs","repos_url":"https://api.github.com/users/edenlabllc/repos","events_url":"https://api.github.com/users/edenlabllc/events{/privacy}","received_events_url":"https://api.github.com/users/edenlabllc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/edenlabllc/report.api","description":"Service that will generate reports for projects that related to Ukrainian Health Services government institution","fork":false,"url":"https://api.github.com/repos/edenlabllc/report.api","forks_url":"https://api.github.com/repos/edenlabllc/report.api/forks","keys_url":"https://api.github.com/repos/edenlabllc/report.api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edenlabllc/report.api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edenlabllc/report.api/teams","hooks_url":"https://api.github.com/repos/edenlabllc/report.api/hooks","issue_events_url":"https://api.github.com/repos/edenlabllc/report.api/issues/events{/number}","events_url":"https://api.github.com/repos/edenlabllc/report.api/events","assignees_url":"https://api.github.com/repos/edenlabllc/report.api/assignees{/user}","branches_url":"https://api.github.com/repos/edenlabllc/report.api/branches{/branch}","tags_url":"https://api.github.com/repos/edenlabllc/report.api/tags","blobs_url":"https://api.github.com/repos/edenlabllc/report.api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edenlabllc/report.api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edenlabllc/report.api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edenlabllc/report.api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edenlabllc/report.api/statuses/{sha}","languages_url":"https://api.github.com/repos/edenlabllc/report.api/languages","stargazers_url":"https://api.github.com/repos/edenlabllc/report.api/stargazers","contributors_url":"https://api.github.com/repos/edenlabllc/report.api/contributors","subscribers_url":"https://api.github.com/repos/edenlabllc/report.api/subscribers","subscription_url":"https://api.github.com/repos/edenlabllc/report.api/subscription","commits_url":"https://api.github.com/repos/edenlabllc/report.api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edenlabllc/report.api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edenlabllc/report.api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edenlabllc/report.api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edenlabllc/report.api/contents/{+path}","compare_url":"https://api.github.com/repos/edenlabllc/report.api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edenlabllc/report.api/merges","archive_url":"https://api.github.com/repos/edenlabllc/report.api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edenlabllc/report.api/downloads","issues_url":"https://api.github.com/repos/edenlabllc/report.api/issues{/number}","pulls_url":"https://api.github.com/repos/edenlabllc/report.api/pulls{/number}","milestones_url":"https://api.github.com/repos/edenlabllc/report.api/milestones{/number}","notifications_url":"https://api.github.com/repos/edenlabllc/report.api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edenlabllc/report.api/labels{/name}","releases_url":"https://api.github.com/repos/edenlabllc/report.api/releases{/id}","deployments_url":"https://api.github.com/repos/edenlabllc/report.api/deployments","created_at":"2017-06-29T15:37:19Z","updated_at":"2018-10-08T14:57:41Z","pushed_at":"2018-10-24T08:08:18Z","git_url":"git://github.com/edenlabllc/report.api.git","ssh_url":"git@github.com:edenlabllc/report.api.git","clone_url":"https://github.com/edenlabllc/report.api.git","svn_url":"https://github.com/edenlabllc/report.api","homepage":"","size":1851,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/edenlabllc/report.api/pulls/146"},"html":{"href":"https://github.com/edenlabllc/report.api/pull/146"},"issue":{"href":"https://api.github.com/repos/edenlabllc/report.api/issues/146"},"comments":{"href":"https://api.github.com/repos/edenlabllc/report.api/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/edenlabllc/report.api/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/edenlabllc/report.api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edenlabllc/report.api/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/edenlabllc/report.api/statuses/69da4ee6157b802df855272ab179d119e320d4bf"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AlexKovalevych"}}