type Post = { title: string slug: string content: string draft: boolean publishedAt: Date}
@@unique([slug, blogId])
modelBuilder.Entity<Post>((entity) => { entity.HasIndex((p) => new { p.Slug, p.BlogId }).IsUnique(); });