{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/comments/337039218","pull_request_review_id":304590117,"id":337039218,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzNzAzOTIxOA==","diff_hunk":"@@ -0,0 +1,252 @@\n+CREATE DATABASE IF NOT EXISTS `taskforce`\n+  DEFAULT CHARACTER SET utf8\n+  DEFAULT COLLATE utf8_general_ci;\n+\n+CREATE TABLE IF NOT EXISTS `taskforce`.`locations` (\n+  `id` INT NOT NULL,\n+  `city_name` VARCHAR(45) NOT NULL,\n+  `district` VARCHAR(45) NULL,\n+  `street` VARCHAR(45) NULL,\n+  `zip-code` VARCHAR(45) NULL,\n+  `latitude` VARCHAR(45) NULL,\n+  `longitude` VARCHAR(45) NULL,\n+  `created_at` DATETIME NOT NULL,\n+  `updated_at` DATETIME NULL,\n+  PRIMARY KEY (`id`),\n+  UNIQUE INDEX `city_name_UNIQUE` (`city_name` ASC))","path":"schema.sql","position":null,"original_position":16,"commit_id":"be414b802986468597a44b47bd01ba31aa8d6a4b","original_commit_id":"5d2eefcea9be5fa1fa6d03e4be36f61f2dd90441","user":{"login":"caseycs","id":76095,"node_id":"MDQ6VXNlcjc2MDk1","avatar_url":"https://avatars0.githubusercontent.com/u/76095?v=4","gravatar_id":"","url":"https://api.github.com/users/caseycs","html_url":"https://github.com/caseycs","followers_url":"https://api.github.com/users/caseycs/followers","following_url":"https://api.github.com/users/caseycs/following{/other_user}","gists_url":"https://api.github.com/users/caseycs/gists{/gist_id}","starred_url":"https://api.github.com/users/caseycs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseycs/subscriptions","organizations_url":"https://api.github.com/users/caseycs/orgs","repos_url":"https://api.github.com/users/caseycs/repos","events_url":"https://api.github.com/users/caseycs/events{/privacy}","received_events_url":"https://api.github.com/users/caseycs/received_events","type":"User","site_admin":false},"body":"Даже если список жесткий - такой индекс не даст создать две строчки в таблице с одним и тем же городом. Это прямо важно понимать, если не очень ложиться в голове - пиши, не стесняйся.","created_at":"2019-10-21T14:09:56Z","updated_at":"2019-10-21T14:09:56Z","html_url":"https://github.com/htmlacademy-yii/792223-task-force-1/pull/4#discussion_r337039218","pull_request_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/comments/337039218"},"html":{"href":"https://github.com/htmlacademy-yii/792223-task-force-1/pull/4#discussion_r337039218"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4"}},"in_reply_to_id":336763968},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4","id":330046223,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMwMDQ2MjIz","html_url":"https://github.com/htmlacademy-yii/792223-task-force-1/pull/4","diff_url":"https://github.com/htmlacademy-yii/792223-task-force-1/pull/4.diff","patch_url":"https://github.com/htmlacademy-yii/792223-task-force-1/pull/4.patch","issue_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/issues/4","number":4,"state":"open","locked":false,"title":"Планирование – залог успеха","user":{"login":"k0ality","id":39709366,"node_id":"MDQ6VXNlcjM5NzA5MzY2","avatar_url":"https://avatars3.githubusercontent.com/u/39709366?v=4","gravatar_id":"","url":"https://api.github.com/users/k0ality","html_url":"https://github.com/k0ality","followers_url":"https://api.github.com/users/k0ality/followers","following_url":"https://api.github.com/users/k0ality/following{/other_user}","gists_url":"https://api.github.com/users/k0ality/gists{/gist_id}","starred_url":"https://api.github.com/users/k0ality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0ality/subscriptions","organizations_url":"https://api.github.com/users/k0ality/orgs","repos_url":"https://api.github.com/users/k0ality/repos","events_url":"https://api.github.com/users/k0ality/events{/privacy}","received_events_url":"https://api.github.com/users/k0ality/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Планирование – залог успеха](https://up.htmlacademy.ru/yii/1/user/792223/tasks/5)","created_at":"2019-10-19T18:42:18Z","updated_at":"2019-10-21T14:09:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"529dbc0829bd81e947217ef7877fa9fb19901866","assignee":{"login":"caseycs","id":76095,"node_id":"MDQ6VXNlcjc2MDk1","avatar_url":"https://avatars0.githubusercontent.com/u/76095?v=4","gravatar_id":"","url":"https://api.github.com/users/caseycs","html_url":"https://github.com/caseycs","followers_url":"https://api.github.com/users/caseycs/followers","following_url":"https://api.github.com/users/caseycs/following{/other_user}","gists_url":"https://api.github.com/users/caseycs/gists{/gist_id}","starred_url":"https://api.github.com/users/caseycs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseycs/subscriptions","organizations_url":"https://api.github.com/users/caseycs/orgs","repos_url":"https://api.github.com/users/caseycs/repos","events_url":"https://api.github.com/users/caseycs/events{/privacy}","received_events_url":"https://api.github.com/users/caseycs/received_events","type":"User","site_admin":false},"assignees":[{"login":"caseycs","id":76095,"node_id":"MDQ6VXNlcjc2MDk1","avatar_url":"https://avatars0.githubusercontent.com/u/76095?v=4","gravatar_id":"","url":"https://api.github.com/users/caseycs","html_url":"https://github.com/caseycs","followers_url":"https://api.github.com/users/caseycs/followers","following_url":"https://api.github.com/users/caseycs/following{/other_user}","gists_url":"https://api.github.com/users/caseycs/gists{/gist_id}","starred_url":"https://api.github.com/users/caseycs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseycs/subscriptions","organizations_url":"https://api.github.com/users/caseycs/orgs","repos_url":"https://api.github.com/users/caseycs/repos","events_url":"https://api.github.com/users/caseycs/events{/privacy}","received_events_url":"https://api.github.com/users/caseycs/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/issues/4/comments","statuses_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/statuses/be414b802986468597a44b47bd01ba31aa8d6a4b","head":{"label":"k0ality:module2-task1","ref":"module2-task1","sha":"be414b802986468597a44b47bd01ba31aa8d6a4b","user":{"login":"k0ality","id":39709366,"node_id":"MDQ6VXNlcjM5NzA5MzY2","avatar_url":"https://avatars3.githubusercontent.com/u/39709366?v=4","gravatar_id":"","url":"https://api.github.com/users/k0ality","html_url":"https://github.com/k0ality","followers_url":"https://api.github.com/users/k0ality/followers","following_url":"https://api.github.com/users/k0ality/following{/other_user}","gists_url":"https://api.github.com/users/k0ality/gists{/gist_id}","starred_url":"https://api.github.com/users/k0ality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0ality/subscriptions","organizations_url":"https://api.github.com/users/k0ality/orgs","repos_url":"https://api.github.com/users/k0ality/repos","events_url":"https://api.github.com/users/k0ality/events{/privacy}","received_events_url":"https://api.github.com/users/k0ality/received_events","type":"User","site_admin":false},"repo":{"id":213428893,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM0Mjg4OTM=","name":"792223-task-force-1","full_name":"k0ality/792223-task-force-1","private":false,"owner":{"login":"k0ality","id":39709366,"node_id":"MDQ6VXNlcjM5NzA5MzY2","avatar_url":"https://avatars3.githubusercontent.com/u/39709366?v=4","gravatar_id":"","url":"https://api.github.com/users/k0ality","html_url":"https://github.com/k0ality","followers_url":"https://api.github.com/users/k0ality/followers","following_url":"https://api.github.com/users/k0ality/following{/other_user}","gists_url":"https://api.github.com/users/k0ality/gists{/gist_id}","starred_url":"https://api.github.com/users/k0ality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0ality/subscriptions","organizations_url":"https://api.github.com/users/k0ality/orgs","repos_url":"https://api.github.com/users/k0ality/repos","events_url":"https://api.github.com/users/k0ality/events{/privacy}","received_events_url":"https://api.github.com/users/k0ality/received_events","type":"User","site_admin":false},"html_url":"https://github.com/k0ality/792223-task-force-1","description":"Марина","fork":true,"url":"https://api.github.com/repos/k0ality/792223-task-force-1","forks_url":"https://api.github.com/repos/k0ality/792223-task-force-1/forks","keys_url":"https://api.github.com/repos/k0ality/792223-task-force-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k0ality/792223-task-force-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k0ality/792223-task-force-1/teams","hooks_url":"https://api.github.com/repos/k0ality/792223-task-force-1/hooks","issue_events_url":"https://api.github.com/repos/k0ality/792223-task-force-1/issues/events{/number}","events_url":"https://api.github.com/repos/k0ality/792223-task-force-1/events","assignees_url":"https://api.github.com/repos/k0ality/792223-task-force-1/assignees{/user}","branches_url":"https://api.github.com/repos/k0ality/792223-task-force-1/branches{/branch}","tags_url":"https://api.github.com/repos/k0ality/792223-task-force-1/tags","blobs_url":"https://api.github.com/repos/k0ality/792223-task-force-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k0ality/792223-task-force-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k0ality/792223-task-force-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/k0ality/792223-task-force-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k0ality/792223-task-force-1/statuses/{sha}","languages_url":"https://api.github.com/repos/k0ality/792223-task-force-1/languages","stargazers_url":"https://api.github.com/repos/k0ality/792223-task-force-1/stargazers","contributors_url":"https://api.github.com/repos/k0ality/792223-task-force-1/contributors","subscribers_url":"https://api.github.com/repos/k0ality/792223-task-force-1/subscribers","subscription_url":"https://api.github.com/repos/k0ality/792223-task-force-1/subscription","commits_url":"https://api.github.com/repos/k0ality/792223-task-force-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/k0ality/792223-task-force-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/k0ality/792223-task-force-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/k0ality/792223-task-force-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/k0ality/792223-task-force-1/contents/{+path}","compare_url":"https://api.github.com/repos/k0ality/792223-task-force-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k0ality/792223-task-force-1/merges","archive_url":"https://api.github.com/repos/k0ality/792223-task-force-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k0ality/792223-task-force-1/downloads","issues_url":"https://api.github.com/repos/k0ality/792223-task-force-1/issues{/number}","pulls_url":"https://api.github.com/repos/k0ality/792223-task-force-1/pulls{/number}","milestones_url":"https://api.github.com/repos/k0ality/792223-task-force-1/milestones{/number}","notifications_url":"https://api.github.com/repos/k0ality/792223-task-force-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k0ality/792223-task-force-1/labels{/name}","releases_url":"https://api.github.com/repos/k0ality/792223-task-force-1/releases{/id}","deployments_url":"https://api.github.com/repos/k0ality/792223-task-force-1/deployments","created_at":"2019-10-07T16:10:18Z","updated_at":"2019-10-19T18:39:06Z","pushed_at":"2019-10-21T12:33:00Z","git_url":"git://github.com/k0ality/792223-task-force-1.git","ssh_url":"git@github.com:k0ality/792223-task-force-1.git","clone_url":"https://github.com/k0ality/792223-task-force-1.git","svn_url":"https://github.com/k0ality/792223-task-force-1","homepage":null,"size":1606,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-yii:master","ref":"master","sha":"c38fdd89fbcad9beff55835db282cd6e11accae9","user":{"login":"htmlacademy-yii","id":53609185,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNjA5MTg1","avatar_url":"https://avatars0.githubusercontent.com/u/53609185?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-yii","html_url":"https://github.com/htmlacademy-yii","followers_url":"https://api.github.com/users/htmlacademy-yii/followers","following_url":"https://api.github.com/users/htmlacademy-yii/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-yii/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-yii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-yii/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-yii/orgs","repos_url":"https://api.github.com/users/htmlacademy-yii/repos","events_url":"https://api.github.com/users/htmlacademy-yii/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-yii/received_events","type":"Organization","site_admin":false},"repo":{"id":213428018,"node_id":"MDEwOlJlcG9zaXRvcnkyMTM0MjgwMTg=","name":"792223-task-force-1","full_name":"htmlacademy-yii/792223-task-force-1","private":false,"owner":{"login":"htmlacademy-yii","id":53609185,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNjA5MTg1","avatar_url":"https://avatars0.githubusercontent.com/u/53609185?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-yii","html_url":"https://github.com/htmlacademy-yii","followers_url":"https://api.github.com/users/htmlacademy-yii/followers","following_url":"https://api.github.com/users/htmlacademy-yii/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-yii/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-yii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-yii/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-yii/orgs","repos_url":"https://api.github.com/users/htmlacademy-yii/repos","events_url":"https://api.github.com/users/htmlacademy-yii/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-yii/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/htmlacademy-yii/792223-task-force-1","description":"Марина","fork":false,"url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1","forks_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/forks","keys_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/teams","hooks_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/events","assignees_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/tags","blobs_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/subscription","commits_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/merges","archive_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/downloads","issues_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/deployments","created_at":"2019-10-07T16:06:00Z","updated_at":"2019-10-14T02:24:34Z","pushed_at":"2019-10-21T12:33:02Z","git_url":"git://github.com/htmlacademy-yii/792223-task-force-1.git","ssh_url":"git@github.com:htmlacademy-yii/792223-task-force-1.git","clone_url":"https://github.com/htmlacademy-yii/792223-task-force-1.git","svn_url":"https://github.com/htmlacademy-yii/792223-task-force-1","homepage":"https://github.com/k0ality/792223-task-force-1","size":1602,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4"},"html":{"href":"https://github.com/htmlacademy-yii/792223-task-force-1/pull/4"},"issue":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/issues/4"},"comments":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-yii/792223-task-force-1/statuses/be414b802986468597a44b47bd01ba31aa8d6a4b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"caseycs"}}