Column names in each table must be unique. Column name 'StripeRecipientId' in table 'dbo.Foos' is specified more than once
问题 I have a model class named Foo that has, among others, these properties. public string StripeRecipientId { get; set; } public override bool HasProvidedBillingInformation { get { // return !string.IsNullOrEmpty(this.StripeRecipientId); return false; } } I have enabled migrations and am using Code First. When I run the update-database commandlet, whether with -Force option is specified or not, I get this error: Column names in each table must be unique. Column name 'StripeRecipientId' in table