a migration

This commit is contained in:
Paul Schneider 2023-03-26 21:48:25 +01:00
commit a02085f086
7 changed files with 94 additions and 87 deletions

View file

@ -77,6 +77,7 @@ namespace Yavsc.Models
}
builder.Entity<Activity>().Property(a=>a.ParentCode).IsRequired(false);
builder.Entity<BlogPost>().HasOne(p => p.Author).WithMany(a => a.Posts);
}
// this is not a failback procedure.