{"action":"created","comment":{"url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/comments/83419296","pull_request_review_id":4265510,"id":83419296,"diff_hunk":"@@ -8,38 +8,40 @@\n namespace Microsoft.Its.Domain.Sql\n {\n     /// <summary>\n-    /// Model for storing events in a SQL database using Entity Framework.\n+    ///     Model for storing events in a SQL database using Entity Framework.\n     /// </summary>\n     [Table(\"Events\", Schema = \"EventStore\")]\n     public class StorableEvent\n     {\n         /// <summary>\n-        /// Initializes a new instance of the <see cref=\"T:System.Object\"/> class.\n+        ///     Initializes a new instance of the <see cref=\"T:System.Object\" /> class.\n         /// </summary>\n         public StorableEvent()\n         {\n             Timestamp = DateTimeOffset.UtcNow;\n         }\n \n         /// <summary>\n-        /// Gets or sets the incrementing database-assigned identifier which can be used as a checkpoint for building projections.\n+        ///     Gets or sets the incrementing database-assigned identifier which can be used as a checkpoint for building\n+        ///     projections.\n         /// </summary>\n+        [Index(IsUnique = true), Index(\"IX_Id_StreamName_Type\", 1, IsUnique = true)]\n         public long Id { get; set; }","path":"Domain.Sql/StorableEvent.cs","position":25,"original_position":25,"commit_id":"f30f7ddd7f588ab8d6e88c3f04c80e9785bc994c","original_commit_id":"f30f7ddd7f588ab8d6e88c3f04c80e9785bc994c","user":{"login":"jonsequitur","id":547415,"avatar_url":"https://avatars.githubusercontent.com/u/547415?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsequitur","html_url":"https://github.com/jonsequitur","followers_url":"https://api.github.com/users/jonsequitur/followers","following_url":"https://api.github.com/users/jonsequitur/following{/other_user}","gists_url":"https://api.github.com/users/jonsequitur/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsequitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsequitur/subscriptions","organizations_url":"https://api.github.com/users/jonsequitur/orgs","repos_url":"https://api.github.com/users/jonsequitur/repos","events_url":"https://api.github.com/users/jonsequitur/events{/privacy}","received_events_url":"https://api.github.com/users/jonsequitur/received_events","type":"User","site_admin":false},"body":"Why is `IsUnique` specified twice? Is this necessary?","created_at":"2016-10-14T13:19:22Z","updated_at":"2016-10-14T13:19:22Z","html_url":"https://github.com/jonsequitur/Its.Cqrs/pull/170#discussion_r83419296","pull_request_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/comments/83419296"},"html":{"href":"https://github.com/jonsequitur/Its.Cqrs/pull/170#discussion_r83419296"},"pull_request":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170","id":89313943,"html_url":"https://github.com/jonsequitur/Its.Cqrs/pull/170","diff_url":"https://github.com/jonsequitur/Its.Cqrs/pull/170.diff","patch_url":"https://github.com/jonsequitur/Its.Cqrs/pull/170.patch","issue_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/issues/170","number":170,"state":"open","locked":false,"title":"Modified Event store column size and indexes","user":{"login":"xavierjohn","id":1859710,"avatar_url":"https://avatars.githubusercontent.com/u/1859710?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierjohn","html_url":"https://github.com/xavierjohn","followers_url":"https://api.github.com/users/xavierjohn/followers","following_url":"https://api.github.com/users/xavierjohn/following{/other_user}","gists_url":"https://api.github.com/users/xavierjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierjohn/subscriptions","organizations_url":"https://api.github.com/users/xavierjohn/orgs","repos_url":"https://api.github.com/users/xavierjohn/repos","events_url":"https://api.github.com/users/xavierjohn/events{/privacy}","received_events_url":"https://api.github.com/users/xavierjohn/received_events","type":"User","site_admin":false},"body":"Modified Event store column size and indexes","created_at":"2016-10-14T02:14:36Z","updated_at":"2016-10-14T13:19:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ed268d54740cc1b454a24ecd76aca6573ff0fb8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170/commits","review_comments_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170/comments","review_comment_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/issues/170/comments","statuses_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/statuses/f30f7ddd7f588ab8d6e88c3f04c80e9785bc994c","head":{"label":"xavierjohn:master","ref":"master","sha":"f30f7ddd7f588ab8d6e88c3f04c80e9785bc994c","user":{"login":"xavierjohn","id":1859710,"avatar_url":"https://avatars.githubusercontent.com/u/1859710?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierjohn","html_url":"https://github.com/xavierjohn","followers_url":"https://api.github.com/users/xavierjohn/followers","following_url":"https://api.github.com/users/xavierjohn/following{/other_user}","gists_url":"https://api.github.com/users/xavierjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierjohn/subscriptions","organizations_url":"https://api.github.com/users/xavierjohn/orgs","repos_url":"https://api.github.com/users/xavierjohn/repos","events_url":"https://api.github.com/users/xavierjohn/events{/privacy}","received_events_url":"https://api.github.com/users/xavierjohn/received_events","type":"User","site_admin":false},"repo":{"id":70278143,"name":"Its.Cqrs","full_name":"xavierjohn/Its.Cqrs","owner":{"login":"xavierjohn","id":1859710,"avatar_url":"https://avatars.githubusercontent.com/u/1859710?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierjohn","html_url":"https://github.com/xavierjohn","followers_url":"https://api.github.com/users/xavierjohn/followers","following_url":"https://api.github.com/users/xavierjohn/following{/other_user}","gists_url":"https://api.github.com/users/xavierjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierjohn/subscriptions","organizations_url":"https://api.github.com/users/xavierjohn/orgs","repos_url":"https://api.github.com/users/xavierjohn/repos","events_url":"https://api.github.com/users/xavierjohn/events{/privacy}","received_events_url":"https://api.github.com/users/xavierjohn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xavierjohn/Its.Cqrs","description":"A set of libraries for CQRS and Event Sourcing, with a Domain-Driven Design flavor.","fork":true,"url":"https://api.github.com/repos/xavierjohn/Its.Cqrs","forks_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/forks","keys_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/teams","hooks_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/hooks","issue_events_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/issues/events{/number}","events_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/events","assignees_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/assignees{/user}","branches_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/branches{/branch}","tags_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/tags","blobs_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/git/refs{/sha}","trees_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/statuses/{sha}","languages_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/languages","stargazers_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/stargazers","contributors_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/contributors","subscribers_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/subscribers","subscription_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/subscription","commits_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/commits{/sha}","git_commits_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/git/commits{/sha}","comments_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/comments{/number}","issue_comment_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/issues/comments{/number}","contents_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/contents/{+path}","compare_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/merges","archive_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/downloads","issues_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/issues{/number}","pulls_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/pulls{/number}","milestones_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/milestones{/number}","notifications_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/labels{/name}","releases_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/releases{/id}","deployments_url":"https://api.github.com/repos/xavierjohn/Its.Cqrs/deployments","created_at":"2016-10-07T19:50:27Z","updated_at":"2016-10-07T19:50:30Z","pushed_at":"2016-10-14T02:12:42Z","git_url":"git://github.com/xavierjohn/Its.Cqrs.git","ssh_url":"git@github.com:xavierjohn/Its.Cqrs.git","clone_url":"https://github.com/xavierjohn/Its.Cqrs.git","svn_url":"https://github.com/xavierjohn/Its.Cqrs","homepage":"","size":3219,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jonsequitur:master","ref":"master","sha":"18d621219a3a3c2da375fe1962d4045fd40d1190","user":{"login":"jonsequitur","id":547415,"avatar_url":"https://avatars.githubusercontent.com/u/547415?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsequitur","html_url":"https://github.com/jonsequitur","followers_url":"https://api.github.com/users/jonsequitur/followers","following_url":"https://api.github.com/users/jonsequitur/following{/other_user}","gists_url":"https://api.github.com/users/jonsequitur/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsequitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsequitur/subscriptions","organizations_url":"https://api.github.com/users/jonsequitur/orgs","repos_url":"https://api.github.com/users/jonsequitur/repos","events_url":"https://api.github.com/users/jonsequitur/events{/privacy}","received_events_url":"https://api.github.com/users/jonsequitur/received_events","type":"User","site_admin":false},"repo":{"id":26377662,"name":"Its.Cqrs","full_name":"jonsequitur/Its.Cqrs","owner":{"login":"jonsequitur","id":547415,"avatar_url":"https://avatars.githubusercontent.com/u/547415?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsequitur","html_url":"https://github.com/jonsequitur","followers_url":"https://api.github.com/users/jonsequitur/followers","following_url":"https://api.github.com/users/jonsequitur/following{/other_user}","gists_url":"https://api.github.com/users/jonsequitur/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsequitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsequitur/subscriptions","organizations_url":"https://api.github.com/users/jonsequitur/orgs","repos_url":"https://api.github.com/users/jonsequitur/repos","events_url":"https://api.github.com/users/jonsequitur/events{/privacy}","received_events_url":"https://api.github.com/users/jonsequitur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonsequitur/Its.Cqrs","description":"A set of libraries for CQRS and Event Sourcing, with a Domain-Driven Design flavor.","fork":false,"url":"https://api.github.com/repos/jonsequitur/Its.Cqrs","forks_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/forks","keys_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/teams","hooks_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/hooks","issue_events_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/issues/events{/number}","events_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/events","assignees_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/assignees{/user}","branches_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/branches{/branch}","tags_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/tags","blobs_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/statuses/{sha}","languages_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/languages","stargazers_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/stargazers","contributors_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/contributors","subscribers_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/subscribers","subscription_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/subscription","commits_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/contents/{+path}","compare_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/merges","archive_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/downloads","issues_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/issues{/number}","pulls_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls{/number}","milestones_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/milestones{/number}","notifications_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/labels{/name}","releases_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/releases{/id}","deployments_url":"https://api.github.com/repos/jonsequitur/Its.Cqrs/deployments","created_at":"2014-11-08T23:02:02Z","updated_at":"2016-10-06T05:32:39Z","pushed_at":"2016-10-14T02:14:36Z","git_url":"git://github.com/jonsequitur/Its.Cqrs.git","ssh_url":"git@github.com:jonsequitur/Its.Cqrs.git","clone_url":"https://github.com/jonsequitur/Its.Cqrs.git","svn_url":"https://github.com/jonsequitur/Its.Cqrs","homepage":"","size":3693,"stargazers_count":32,"watchers_count":32,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":13,"forks":15,"open_issues":13,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170"},"html":{"href":"https://github.com/jonsequitur/Its.Cqrs/pull/170"},"issue":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/issues/170"},"comments":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/jonsequitur/Its.Cqrs/statuses/f30f7ddd7f588ab8d6e88c3f04c80e9785bc994c"}}}}
{"actor":{"display_login":"jonsequitur"}}