Fix category shadow foreign keys and .NET 10 Docker build context
Build MoneyMap image / build-and-push (push) Failing after 7s

This commit is contained in:
aj
2026-09-12 17:38:38 -04:00
parent 08e54a4d31
commit df09dd8d53
6 changed files with 133 additions and 4 deletions
+4
View File
@@ -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]