Il reste a faire la migration! Je ne suis pas capable.

This commit is contained in:
PascalMarchesseault
2024-11-11 11:15:35 -05:00
parent b9edb80e70
commit 4176ec5170
8 changed files with 24 additions and 2 deletions

View File

@@ -30,6 +30,11 @@ public class ContentDbContext(
.OwnsMany(c => c.Reactions)
.ToTable("Reactions");
modelBuilder
.Entity<Content>()
.Property(c => c.ThumbnailUrl);
modelBuilder
.Entity<Creator>()
.OwnsOne<Socials>(x => x.Socials)
@@ -44,5 +49,7 @@ public class ContentDbContext(
.Entity<Creator>()
.OwnsOne<Images>(x => x.Images)
.ToTable(nameof(Images));
}
}