Stop calling UseIdentity since it is the default anyway
This commit is contained in:
parent
2f7accb8fe
commit
8bace4b197
|
|
@ -26,10 +26,6 @@ namespace Microsoft.AspNet.Identity.EntityFramework
|
||||||
|
|
||||||
protected override void OnModelCreating(ModelBuilder builder)
|
protected override void OnModelCreating(ModelBuilder builder)
|
||||||
{
|
{
|
||||||
// TODO: Temporary change.
|
|
||||||
// Can be reverted once https://github.com/aspnet/EntityFramework/issues/2175 is closed
|
|
||||||
builder.ForSqlServer().UseIdentity();
|
|
||||||
|
|
||||||
builder.Entity<TUser>(b =>
|
builder.Entity<TUser>(b =>
|
||||||
{
|
{
|
||||||
b.Key(u => u.Id);
|
b.Key(u => u.Id);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue