{"action":"created","comment":{"url":"https://api.github.com/repos/dha01/IS/pulls/comments/46986554","id":46986554,"diff_hunk":"@@ -0,0 +1,12 @@\n+-- �������� ����� TrainingPlan\n+create schema TrainingPlan\n+go\n+\n+-- �������� ������� TrainingPlan.lesson\n+create table TrainingPlan.lesson2auditory(\n+\tlesson2auditory int identity,\n+\tlesson int not null,\n+\tauditory int not null  \n+\tconstraint PK__lesson primary key (lesson),","path":"SQL/Task_41/create table TrainingPlan.lesson2auditory.sql","position":10,"original_position":10,"commit_id":"7115e517196bc803b8a7c04c1e6d6f38095b4f7f","original_commit_id":"7115e517196bc803b8a7c04c1e6d6f38095b4f7f","user":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"body":"1. Первичный ключ именуется в формате PK__<название поля первичного ключа>\r\n2. У каждой таблицы должно специальное быть поле - идентификатор с названием как у таблицы (lesson2auditory) оно и должно быть первичным ключем таблицы","created_at":"2015-12-08T17:42:59Z","updated_at":"2015-12-08T17:42:59Z","html_url":"https://github.com/dha01/IS/pull/122#discussion_r46986554","pull_request_url":"https://api.github.com/repos/dha01/IS/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/dha01/IS/pulls/comments/46986554"},"html":{"href":"https://github.com/dha01/IS/pull/122#discussion_r46986554"},"pull_request":{"href":"https://api.github.com/repos/dha01/IS/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/dha01/IS/pulls/122","id":52944072,"html_url":"https://github.com/dha01/IS/pull/122","diff_url":"https://github.com/dha01/IS/pull/122.diff","patch_url":"https://github.com/dha01/IS/pull/122.patch","issue_url":"https://api.github.com/repos/dha01/IS/issues/122","number":122,"state":"open","locked":false,"title":"ПЕ-22б Яковлев Я.О.: Создание таблицы содержащая в себе связь занятия…","user":{"login":"YakovlevYar","id":16202203,"avatar_url":"https://avatars.githubusercontent.com/u/16202203?v=3","gravatar_id":"","url":"https://api.github.com/users/YakovlevYar","html_url":"https://github.com/YakovlevYar","followers_url":"https://api.github.com/users/YakovlevYar/followers","following_url":"https://api.github.com/users/YakovlevYar/following{/other_user}","gists_url":"https://api.github.com/users/YakovlevYar/gists{/gist_id}","starred_url":"https://api.github.com/users/YakovlevYar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YakovlevYar/subscriptions","organizations_url":"https://api.github.com/users/YakovlevYar/orgs","repos_url":"https://api.github.com/users/YakovlevYar/repos","events_url":"https://api.github.com/users/YakovlevYar/events{/privacy}","received_events_url":"https://api.github.com/users/YakovlevYar/received_events","type":"User","site_admin":false},"body":"… и аудитории.","created_at":"2015-12-08T06:43:34Z","updated_at":"2015-12-08T17:42:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa4886b1df3b798c9530e46c1b748a57a3cbaafb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dha01/IS/pulls/122/commits","review_comments_url":"https://api.github.com/repos/dha01/IS/pulls/122/comments","review_comment_url":"https://api.github.com/repos/dha01/IS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dha01/IS/issues/122/comments","statuses_url":"https://api.github.com/repos/dha01/IS/statuses/7115e517196bc803b8a7c04c1e6d6f38095b4f7f","head":{"label":"dha01:feature/Task_41_Yakovlev_Y","ref":"feature/Task_41_Yakovlev_Y","sha":"7115e517196bc803b8a7c04c1e6d6f38095b4f7f","user":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"repo":{"id":41916840,"name":"IS","full_name":"dha01/IS","owner":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dha01/IS","description":"Информационная система","fork":false,"url":"https://api.github.com/repos/dha01/IS","forks_url":"https://api.github.com/repos/dha01/IS/forks","keys_url":"https://api.github.com/repos/dha01/IS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dha01/IS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dha01/IS/teams","hooks_url":"https://api.github.com/repos/dha01/IS/hooks","issue_events_url":"https://api.github.com/repos/dha01/IS/issues/events{/number}","events_url":"https://api.github.com/repos/dha01/IS/events","assignees_url":"https://api.github.com/repos/dha01/IS/assignees{/user}","branches_url":"https://api.github.com/repos/dha01/IS/branches{/branch}","tags_url":"https://api.github.com/repos/dha01/IS/tags","blobs_url":"https://api.github.com/repos/dha01/IS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dha01/IS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dha01/IS/git/refs{/sha}","trees_url":"https://api.github.com/repos/dha01/IS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dha01/IS/statuses/{sha}","languages_url":"https://api.github.com/repos/dha01/IS/languages","stargazers_url":"https://api.github.com/repos/dha01/IS/stargazers","contributors_url":"https://api.github.com/repos/dha01/IS/contributors","subscribers_url":"https://api.github.com/repos/dha01/IS/subscribers","subscription_url":"https://api.github.com/repos/dha01/IS/subscription","commits_url":"https://api.github.com/repos/dha01/IS/commits{/sha}","git_commits_url":"https://api.github.com/repos/dha01/IS/git/commits{/sha}","comments_url":"https://api.github.com/repos/dha01/IS/comments{/number}","issue_comment_url":"https://api.github.com/repos/dha01/IS/issues/comments{/number}","contents_url":"https://api.github.com/repos/dha01/IS/contents/{+path}","compare_url":"https://api.github.com/repos/dha01/IS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dha01/IS/merges","archive_url":"https://api.github.com/repos/dha01/IS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dha01/IS/downloads","issues_url":"https://api.github.com/repos/dha01/IS/issues{/number}","pulls_url":"https://api.github.com/repos/dha01/IS/pulls{/number}","milestones_url":"https://api.github.com/repos/dha01/IS/milestones{/number}","notifications_url":"https://api.github.com/repos/dha01/IS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dha01/IS/labels{/name}","releases_url":"https://api.github.com/repos/dha01/IS/releases{/id}","created_at":"2015-09-04T13:18:48Z","updated_at":"2015-12-05T14:49:36Z","pushed_at":"2015-12-08T17:30:27Z","git_url":"git://github.com/dha01/IS.git","ssh_url":"git@github.com:dha01/IS.git","clone_url":"https://github.com/dha01/IS.git","svn_url":"https://github.com/dha01/IS","homepage":null,"size":1079,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":19,"forks":3,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"dha01:master","ref":"master","sha":"afef5b42fc5e7bda94d9df6eb24e626cf5e4da12","user":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"repo":{"id":41916840,"name":"IS","full_name":"dha01/IS","owner":{"login":"dha01","id":13014467,"avatar_url":"https://avatars.githubusercontent.com/u/13014467?v=3","gravatar_id":"","url":"https://api.github.com/users/dha01","html_url":"https://github.com/dha01","followers_url":"https://api.github.com/users/dha01/followers","following_url":"https://api.github.com/users/dha01/following{/other_user}","gists_url":"https://api.github.com/users/dha01/gists{/gist_id}","starred_url":"https://api.github.com/users/dha01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dha01/subscriptions","organizations_url":"https://api.github.com/users/dha01/orgs","repos_url":"https://api.github.com/users/dha01/repos","events_url":"https://api.github.com/users/dha01/events{/privacy}","received_events_url":"https://api.github.com/users/dha01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dha01/IS","description":"Информационная система","fork":false,"url":"https://api.github.com/repos/dha01/IS","forks_url":"https://api.github.com/repos/dha01/IS/forks","keys_url":"https://api.github.com/repos/dha01/IS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dha01/IS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dha01/IS/teams","hooks_url":"https://api.github.com/repos/dha01/IS/hooks","issue_events_url":"https://api.github.com/repos/dha01/IS/issues/events{/number}","events_url":"https://api.github.com/repos/dha01/IS/events","assignees_url":"https://api.github.com/repos/dha01/IS/assignees{/user}","branches_url":"https://api.github.com/repos/dha01/IS/branches{/branch}","tags_url":"https://api.github.com/repos/dha01/IS/tags","blobs_url":"https://api.github.com/repos/dha01/IS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dha01/IS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dha01/IS/git/refs{/sha}","trees_url":"https://api.github.com/repos/dha01/IS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dha01/IS/statuses/{sha}","languages_url":"https://api.github.com/repos/dha01/IS/languages","stargazers_url":"https://api.github.com/repos/dha01/IS/stargazers","contributors_url":"https://api.github.com/repos/dha01/IS/contributors","subscribers_url":"https://api.github.com/repos/dha01/IS/subscribers","subscription_url":"https://api.github.com/repos/dha01/IS/subscription","commits_url":"https://api.github.com/repos/dha01/IS/commits{/sha}","git_commits_url":"https://api.github.com/repos/dha01/IS/git/commits{/sha}","comments_url":"https://api.github.com/repos/dha01/IS/comments{/number}","issue_comment_url":"https://api.github.com/repos/dha01/IS/issues/comments{/number}","contents_url":"https://api.github.com/repos/dha01/IS/contents/{+path}","compare_url":"https://api.github.com/repos/dha01/IS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dha01/IS/merges","archive_url":"https://api.github.com/repos/dha01/IS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dha01/IS/downloads","issues_url":"https://api.github.com/repos/dha01/IS/issues{/number}","pulls_url":"https://api.github.com/repos/dha01/IS/pulls{/number}","milestones_url":"https://api.github.com/repos/dha01/IS/milestones{/number}","notifications_url":"https://api.github.com/repos/dha01/IS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dha01/IS/labels{/name}","releases_url":"https://api.github.com/repos/dha01/IS/releases{/id}","created_at":"2015-09-04T13:18:48Z","updated_at":"2015-12-05T14:49:36Z","pushed_at":"2015-12-08T17:30:27Z","git_url":"git://github.com/dha01/IS.git","ssh_url":"git@github.com:dha01/IS.git","clone_url":"https://github.com/dha01/IS.git","svn_url":"https://github.com/dha01/IS","homepage":null,"size":1079,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":19,"forks":3,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dha01/IS/pulls/122"},"html":{"href":"https://github.com/dha01/IS/pull/122"},"issue":{"href":"https://api.github.com/repos/dha01/IS/issues/122"},"comments":{"href":"https://api.github.com/repos/dha01/IS/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/dha01/IS/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/dha01/IS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dha01/IS/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/dha01/IS/statuses/7115e517196bc803b8a7c04c1e6d6f38095b4f7f"}}}}