{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/comments/172014512","pull_request_review_id":100972388,"id":172014512,"diff_hunk":"@@ -0,0 +1,63 @@\n+CREATE DATABASE yeticave\n+    DEFAULT CHARACTER SET utf8\n+    DEFAULT COLLATE utf8_general_ci;\n+\n+USE yeticave;\n+\n+CREATE TABLE categories ( \n+    id INT AUTO_INCREMENT PRIMARY KEY,  \n+    category CHAR(128)\n+);\n+\n+INSERT INTO categories\n+SET category = 'Доски и лыжи';\n+INSERT INTO categories\n+SET category = 'Крепления'; \n+INSERT INTO categories\n+SET category = 'Ботинки';\n+INSERT INTO categories\n+SET category = 'Одежда';\n+INSERT INTO categories\n+SET category = 'Инструменты';\n+INSERT INTO categories\n+SET category = 'Разное';\n+\n+CREATE INDEX c_text ON categories(category);\n+\n+CREATE TABLE lots ( \n+    id INT AUTO_INCREMENT PRIMARY KEY,  \n+    date_create DATETIME,\n+    catgory categories_id\n+    name CHAR(128),\n+    about TEXT,\n+    img CHAR(128),\n+    price_start DECIMAL,\n+    date_finish DATE,\n+    price_step INT,\n+    author users_id,\n+    winner users_id\n+);\n+\n+CREATE INDEX c_text ON lots(name);\n+\n+CREATE TABLE rates (\n+    id INT AUTO_INCREMENT PRIMARY KEY, \n+    rate_date DATETIME,\n+    rate_price DECIMAL,\n+    lot lots_id,\n+    user users_id\n+);\n+\n+CREATE TABLE users ( \n+    id INT AUTO_INCREMENT PRIMARY KEY,\n+    registration DATETIME,","path":"schema.sql","position":53,"original_position":53,"commit_id":"eb2ed535da33a1acc31c499a168080bf09f2d579","original_commit_id":"eb2ed535da33a1acc31c499a168080bf09f2d579","user":{"login":"denlapaev","id":3096564,"avatar_url":"https://avatars0.githubusercontent.com/u/3096564?v=4","gravatar_id":"","url":"https://api.github.com/users/denlapaev","html_url":"https://github.com/denlapaev","followers_url":"https://api.github.com/users/denlapaev/followers","following_url":"https://api.github.com/users/denlapaev/following{/other_user}","gists_url":"https://api.github.com/users/denlapaev/gists{/gist_id}","starred_url":"https://api.github.com/users/denlapaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denlapaev/subscriptions","organizations_url":"https://api.github.com/users/denlapaev/orgs","repos_url":"https://api.github.com/users/denlapaev/repos","events_url":"https://api.github.com/users/denlapaev/events{/privacy}","received_events_url":"https://api.github.com/users/denlapaev/received_events","type":"User","site_admin":false},"body":"registration_date","created_at":"2018-03-03T11:32:45Z","updated_at":"2018-03-03T11:35:36Z","html_url":"https://github.com/htmlacademy-php/36656-yeticave/pull/12#discussion_r172014512","pull_request_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/12","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/comments/172014512"},"html":{"href":"https://github.com/htmlacademy-php/36656-yeticave/pull/12#discussion_r172014512"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/12","id":172657196,"html_url":"https://github.com/htmlacademy-php/36656-yeticave/pull/12","diff_url":"https://github.com/htmlacademy-php/36656-yeticave/pull/12.diff","patch_url":"https://github.com/htmlacademy-php/36656-yeticave/pull/12.patch","issue_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/issues/12","number":12,"state":"open","locked":false,"title":"Создание схемы БД личного проекта","user":{"login":"gpogrebnyack","id":35490765,"avatar_url":"https://avatars0.githubusercontent.com/u/35490765?v=4","gravatar_id":"","url":"https://api.github.com/users/gpogrebnyack","html_url":"https://github.com/gpogrebnyack","followers_url":"https://api.github.com/users/gpogrebnyack/followers","following_url":"https://api.github.com/users/gpogrebnyack/following{/other_user}","gists_url":"https://api.github.com/users/gpogrebnyack/gists{/gist_id}","starred_url":"https://api.github.com/users/gpogrebnyack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpogrebnyack/subscriptions","organizations_url":"https://api.github.com/users/gpogrebnyack/orgs","repos_url":"https://api.github.com/users/gpogrebnyack/repos","events_url":"https://api.github.com/users/gpogrebnyack/events{/privacy}","received_events_url":"https://api.github.com/users/gpogrebnyack/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Создание схемы БД личного проекта](https://up.htmlacademy.ru/php/4/user/36656/tasks/13)","created_at":"2018-03-03T08:33:09Z","updated_at":"2018-03-03T11:35:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a62abd419b9011c65d15ab08f4f8f7088d40be26","assignee":{"login":"denlapaev","id":3096564,"avatar_url":"https://avatars0.githubusercontent.com/u/3096564?v=4","gravatar_id":"","url":"https://api.github.com/users/denlapaev","html_url":"https://github.com/denlapaev","followers_url":"https://api.github.com/users/denlapaev/followers","following_url":"https://api.github.com/users/denlapaev/following{/other_user}","gists_url":"https://api.github.com/users/denlapaev/gists{/gist_id}","starred_url":"https://api.github.com/users/denlapaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denlapaev/subscriptions","organizations_url":"https://api.github.com/users/denlapaev/orgs","repos_url":"https://api.github.com/users/denlapaev/repos","events_url":"https://api.github.com/users/denlapaev/events{/privacy}","received_events_url":"https://api.github.com/users/denlapaev/received_events","type":"User","site_admin":false},"assignees":[{"login":"denlapaev","id":3096564,"avatar_url":"https://avatars0.githubusercontent.com/u/3096564?v=4","gravatar_id":"","url":"https://api.github.com/users/denlapaev","html_url":"https://github.com/denlapaev","followers_url":"https://api.github.com/users/denlapaev/followers","following_url":"https://api.github.com/users/denlapaev/following{/other_user}","gists_url":"https://api.github.com/users/denlapaev/gists{/gist_id}","starred_url":"https://api.github.com/users/denlapaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denlapaev/subscriptions","organizations_url":"https://api.github.com/users/denlapaev/orgs","repos_url":"https://api.github.com/users/denlapaev/repos","events_url":"https://api.github.com/users/denlapaev/events{/privacy}","received_events_url":"https://api.github.com/users/denlapaev/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/12/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/12/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/issues/12/comments","statuses_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/statuses/eb2ed535da33a1acc31c499a168080bf09f2d579","head":{"label":"gpogrebnyack:module6-task1","ref":"module6-task1","sha":"eb2ed535da33a1acc31c499a168080bf09f2d579","user":{"login":"gpogrebnyack","id":35490765,"avatar_url":"https://avatars0.githubusercontent.com/u/35490765?v=4","gravatar_id":"","url":"https://api.github.com/users/gpogrebnyack","html_url":"https://github.com/gpogrebnyack","followers_url":"https://api.github.com/users/gpogrebnyack/followers","following_url":"https://api.github.com/users/gpogrebnyack/following{/other_user}","gists_url":"https://api.github.com/users/gpogrebnyack/gists{/gist_id}","starred_url":"https://api.github.com/users/gpogrebnyack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpogrebnyack/subscriptions","organizations_url":"https://api.github.com/users/gpogrebnyack/orgs","repos_url":"https://api.github.com/users/gpogrebnyack/repos","events_url":"https://api.github.com/users/gpogrebnyack/events{/privacy}","received_events_url":"https://api.github.com/users/gpogrebnyack/received_events","type":"User","site_admin":false},"repo":{"id":119631635,"name":"36656-yeticave","full_name":"gpogrebnyack/36656-yeticave","owner":{"login":"gpogrebnyack","id":35490765,"avatar_url":"https://avatars0.githubusercontent.com/u/35490765?v=4","gravatar_id":"","url":"https://api.github.com/users/gpogrebnyack","html_url":"https://github.com/gpogrebnyack","followers_url":"https://api.github.com/users/gpogrebnyack/followers","following_url":"https://api.github.com/users/gpogrebnyack/following{/other_user}","gists_url":"https://api.github.com/users/gpogrebnyack/gists{/gist_id}","starred_url":"https://api.github.com/users/gpogrebnyack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpogrebnyack/subscriptions","organizations_url":"https://api.github.com/users/gpogrebnyack/orgs","repos_url":"https://api.github.com/users/gpogrebnyack/repos","events_url":"https://api.github.com/users/gpogrebnyack/events{/privacy}","received_events_url":"https://api.github.com/users/gpogrebnyack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gpogrebnyack/36656-yeticave","description":"Георгий Погребняк","fork":true,"url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave","forks_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/forks","keys_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/teams","hooks_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/hooks","issue_events_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/issues/events{/number}","events_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/events","assignees_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/assignees{/user}","branches_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/branches{/branch}","tags_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/tags","blobs_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/git/refs{/sha}","trees_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/statuses/{sha}","languages_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/languages","stargazers_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/stargazers","contributors_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/contributors","subscribers_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/subscribers","subscription_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/subscription","commits_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/commits{/sha}","git_commits_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/git/commits{/sha}","comments_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/comments{/number}","issue_comment_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/issues/comments{/number}","contents_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/contents/{+path}","compare_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/merges","archive_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/downloads","issues_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/issues{/number}","pulls_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/pulls{/number}","milestones_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/milestones{/number}","notifications_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/labels{/name}","releases_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/releases{/id}","deployments_url":"https://api.github.com/repos/gpogrebnyack/36656-yeticave/deployments","created_at":"2018-01-31T03:50:11Z","updated_at":"2018-01-31T03:50:13Z","pushed_at":"2018-03-03T08:32:41Z","git_url":"git://github.com/gpogrebnyack/36656-yeticave.git","ssh_url":"git@github.com:gpogrebnyack/36656-yeticave.git","clone_url":"https://github.com/gpogrebnyack/36656-yeticave.git","svn_url":"https://github.com/gpogrebnyack/36656-yeticave","homepage":null,"size":1019,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-php:master","ref":"master","sha":"0915ca9a6e31074d89884eaeec1173809f213a53","user":{"login":"htmlacademy-php","id":27206120,"avatar_url":"https://avatars1.githubusercontent.com/u/27206120?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-php","html_url":"https://github.com/htmlacademy-php","followers_url":"https://api.github.com/users/htmlacademy-php/followers","following_url":"https://api.github.com/users/htmlacademy-php/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-php/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-php/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-php/orgs","repos_url":"https://api.github.com/users/htmlacademy-php/repos","events_url":"https://api.github.com/users/htmlacademy-php/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-php/received_events","type":"Organization","site_admin":false},"repo":{"id":119631586,"name":"36656-yeticave","full_name":"htmlacademy-php/36656-yeticave","owner":{"login":"htmlacademy-php","id":27206120,"avatar_url":"https://avatars1.githubusercontent.com/u/27206120?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-php","html_url":"https://github.com/htmlacademy-php","followers_url":"https://api.github.com/users/htmlacademy-php/followers","following_url":"https://api.github.com/users/htmlacademy-php/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-php/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-php/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-php/orgs","repos_url":"https://api.github.com/users/htmlacademy-php/repos","events_url":"https://api.github.com/users/htmlacademy-php/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-php/36656-yeticave","description":"Георгий Погребняк","fork":false,"url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave","forks_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/forks","keys_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/teams","hooks_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/events","assignees_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/tags","blobs_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/subscription","commits_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/merges","archive_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/downloads","issues_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/deployments","created_at":"2018-01-31T03:49:39Z","updated_at":"2018-01-31T04:03:23Z","pushed_at":"2018-03-03T08:33:09Z","git_url":"git://github.com/htmlacademy-php/36656-yeticave.git","ssh_url":"git@github.com:htmlacademy-php/36656-yeticave.git","clone_url":"https://github.com/htmlacademy-php/36656-yeticave.git","svn_url":"https://github.com/htmlacademy-php/36656-yeticave","homepage":"https://github.com/gpogrebnyack/36656-yeticave","size":1018,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":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-php/36656-yeticave/pulls/12"},"html":{"href":"https://github.com/htmlacademy-php/36656-yeticave/pull/12"},"issue":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/issues/12"},"comments":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-php/36656-yeticave/statuses/eb2ed535da33a1acc31c499a168080bf09f2d579"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"denlapaev"}}