{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2171","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2171/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2171/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2171/events","html_url":"https://github.com/aspnet/EntityFramework/pull/2171","id":75704099,"number":2171,"title":"Migrations: Scaffold Required for Primary Key Properies","user":{"login":"smitpatel","id":1528107,"avatar_url":"https://avatars.githubusercontent.com/u/1528107?v=3","gravatar_id":"","url":"https://api.github.com/users/smitpatel","html_url":"https://github.com/smitpatel","followers_url":"https://api.github.com/users/smitpatel/followers","following_url":"https://api.github.com/users/smitpatel/following{/other_user}","gists_url":"https://api.github.com/users/smitpatel/gists{/gist_id}","starred_url":"https://api.github.com/users/smitpatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smitpatel/subscriptions","organizations_url":"https://api.github.com/users/smitpatel/orgs","repos_url":"https://api.github.com/users/smitpatel/repos","events_url":"https://api.github.com/users/smitpatel/events{/privacy}","received_events_url":"https://api.github.com/users/smitpatel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/EntityFramework/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T19:01:07Z","updated_at":"2015-05-13T17:46:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/EntityFramework/pulls/2171","html_url":"https://github.com/aspnet/EntityFramework/pull/2171","diff_url":"https://github.com/aspnet/EntityFramework/pull/2171.diff","patch_url":"https://github.com/aspnet/EntityFramework/pull/2171.patch"},"body":"Resolves #1978"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/101756770","html_url":"https://github.com/aspnet/EntityFramework/pull/2171#issuecomment-101756770","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2171","id":101756770,"user":{"login":"smitpatel","id":1528107,"avatar_url":"https://avatars.githubusercontent.com/u/1528107?v=3","gravatar_id":"","url":"https://api.github.com/users/smitpatel","html_url":"https://github.com/smitpatel","followers_url":"https://api.github.com/users/smitpatel/followers","following_url":"https://api.github.com/users/smitpatel/following{/other_user}","gists_url":"https://api.github.com/users/smitpatel/gists{/gist_id}","starred_url":"https://api.github.com/users/smitpatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smitpatel/subscriptions","organizations_url":"https://api.github.com/users/smitpatel/orgs","repos_url":"https://api.github.com/users/smitpatel/repos","events_url":"https://api.github.com/users/smitpatel/events{/privacy}","received_events_url":"https://api.github.com/users/smitpatel/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T17:46:22Z","updated_at":"2015-05-13T17:46:22Z","body":"@ajcvickers - Even though complete model gives correct value for nullability, migration still scaffolds the properties as nullable even though primary key. Therefore the issue mentioned in #1978 is still reproduces. Should we fix this in some other way? @bricelam - thoughts?"}}