Fix category shadow foreign keys and .NET 10 Docker build context
Build MoneyMap image / build-and-push (push) Failing after 7s
Build MoneyMap image / build-and-push (push) Failing after 7s
This commit is contained in:
@@ -25,7 +25,11 @@ public class Category
|
||||
public ICollection<Category> Children { get; set; } = new List<Category>();
|
||||
|
||||
public ICollection<RecurringPlace> RecurringPlaces { get; set; } = new List<RecurringPlace>();
|
||||
// These entities store category names, not Category foreign keys. Mapping these
|
||||
// collections would make EF invent CategoryId columns absent from the schema.
|
||||
[NotMapped]
|
||||
public ICollection<CategoryMapping> CategoryMappings { get; set; } = new List<CategoryMapping>();
|
||||
[NotMapped]
|
||||
public ICollection<Transaction> Transactions { get; set; } = new List<Transaction>();
|
||||
|
||||
[NotMapped]
|
||||
|
||||
Reference in New Issue
Block a user