Migration for blog traduction

This commit is contained in:
Paul Schneider 2018-12-18 17:45:32 +00:00
commit 3efbca6c90
3 changed files with 2809 additions and 0 deletions

View file

@ -1318,6 +1318,21 @@ namespace Yavsc.Migrations
b.HasKey("DoesCode", "UserId");
});
modelBuilder.Entity("Yavsc.Server.Models.Blog.BlogTrad", b =>
{
b.Property<long>("PostId");
b.Property<string>("Lang");
b.Property<string>("Body");
b.Property<string>("Title");
b.Property<string>("TraducerId");
b.HasKey("PostId", "Lang");
});
modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b =>
{
b.Property<long>("Id")
@ -1878,6 +1893,13 @@ namespace Yavsc.Migrations
.HasForeignKey("UserId");
});
modelBuilder.Entity("Yavsc.Server.Models.Blog.BlogTrad", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("TraducerId");
});
modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")