I am having the following error after typing update-database:
Cannot create more than one clustered index on table \'dbo.AppUsers\'. Drop the existing clu
As stated by @gorillapower in comments, this piece of code is also very important.
modelBuilder.Conventions.Add(new AttributeToColumnAnnotationConvention( "ServiceTableColumn", (property, attributes) => attributes.Single().ColumnType.ToString()));
inside your
protected override void OnModelCreating(DbModelBuilder modelBuilder)
in the DbContext
config class. Do not forget to regenerate migrations.