Migration for blog traduction
This commit is contained in:
parent
b66ab206d0
commit
3efbca6c90
3 changed files with 2809 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue