Asp.net identity creates the primary key as nvarchar(128) with a clustered index. Based on http://www.sqlskills.com/blogs/kimberly/guids-as-primary-keys-andor-the-clustering-key/ I want to either
- Update my application to have a column with clustered index being on an int
- Change from guid to int for primary key storage.
What would you suggest?
If the first solution is the way to go, does entity framework provide a way to implement this?
Is ASP.NET Identity - How to change the dbo.AspNetUsers.Id into a nonclustered index? the only way