{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2622","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2622/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2622/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2622/events","html_url":"https://github.com/aspnet/EntityFramework/issues/2622","id":95053989,"number":2622,"title":"Migrations: Ignore default value if column is Identity","user":{"login":"ajcvickers","id":1430078,"avatar_url":"https://avatars.githubusercontent.com/u/1430078?v=3","gravatar_id":"","url":"https://api.github.com/users/ajcvickers","html_url":"https://github.com/ajcvickers","followers_url":"https://api.github.com/users/ajcvickers/followers","following_url":"https://api.github.com/users/ajcvickers/following{/other_user}","gists_url":"https://api.github.com/users/ajcvickers/gists{/gist_id}","starred_url":"https://api.github.com/users/ajcvickers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajcvickers/subscriptions","organizations_url":"https://api.github.com/users/ajcvickers/orgs","repos_url":"https://api.github.com/users/ajcvickers/repos","events_url":"https://api.github.com/users/ajcvickers/events{/privacy}","received_events_url":"https://api.github.com/users/ajcvickers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T22:10:48Z","updated_at":"2015-07-24T17:49:50Z","closed_at":"2015-07-24T17:49:50Z","body":"We decided in API review that if SQL Server decides that a column is Identity, then is should ignore any default value set rather than generating invalid SQL. This will take a bit of refactoring because the default value code is not SQL Server specific, but the Identity column information is known only to SQL Server."}}