no comment
This commit is contained in:
parent
176c0411df
commit
0e49b13965
54 changed files with 6158 additions and 213 deletions
|
|
@ -379,14 +379,15 @@ namespace Yavsc.Migrations
|
|||
b.HasKey("SIREN");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Blog", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Blog.BlogPost", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<string>("AuthorId");
|
||||
|
||||
b.Property<string>("Content");
|
||||
b.Property<string>("Content")
|
||||
.HasAnnotation("MaxLength", 57344);
|
||||
|
||||
b.Property<DateTime>("DateCreated");
|
||||
|
||||
|
|
@ -394,9 +395,43 @@ namespace Yavsc.Migrations
|
|||
|
||||
b.Property<string>("Photo");
|
||||
|
||||
b.Property<int>("Rate");
|
||||
b.Property<int>("Rate")
|
||||
.HasAnnotation("MaxLength", 1024);
|
||||
|
||||
b.Property<string>("Title");
|
||||
b.Property<string>("Title")
|
||||
.HasAnnotation("MaxLength", 1024);
|
||||
|
||||
b.Property<string>("UserCreated");
|
||||
|
||||
b.Property<string>("UserModified");
|
||||
|
||||
b.Property<bool>("Visible");
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Blog.BlogTag", b =>
|
||||
{
|
||||
b.Property<long>("PostId");
|
||||
|
||||
b.Property<long>("TagId");
|
||||
|
||||
b.HasKey("PostId", "TagId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Blog.Comment", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<string>("Content")
|
||||
.HasAnnotation("MaxLength", 1024);
|
||||
|
||||
b.Property<DateTime>("DateCreated");
|
||||
|
||||
b.Property<DateTime>("DateModified");
|
||||
|
||||
b.Property<long>("PostId");
|
||||
|
||||
b.Property<string>("UserCreated");
|
||||
|
||||
|
|
@ -962,15 +997,6 @@ namespace Yavsc.Migrations
|
|||
b.HasKey("CreationToken");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.BlogTag", b =>
|
||||
{
|
||||
b.Property<long>("PostId");
|
||||
|
||||
b.Property<long>("TagId");
|
||||
|
||||
b.HasKey("PostId", "TagId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
|
|
@ -1266,7 +1292,7 @@ namespace Yavsc.Migrations
|
|||
|
||||
modelBuilder.Entity("Yavsc.Models.Access.CircleAuthorizationToBlogPost", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Blog")
|
||||
b.HasOne("Yavsc.Models.Blog.BlogPost")
|
||||
.WithMany()
|
||||
.HasForeignKey("BlogPostId");
|
||||
|
||||
|
|
@ -1326,13 +1352,31 @@ namespace Yavsc.Migrations
|
|||
.HasForeignKey("OwnerId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Blog", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Blog.BlogPost", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
.WithMany()
|
||||
.HasForeignKey("AuthorId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Blog.BlogTag", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Blog.BlogPost")
|
||||
.WithMany()
|
||||
.HasForeignKey("PostId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Relationship.Tag")
|
||||
.WithMany()
|
||||
.HasForeignKey("TagId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Blog.Comment", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Blog.BlogPost")
|
||||
.WithMany()
|
||||
.HasForeignKey("PostId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Calendar.Schedule", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
|
|
@ -1513,17 +1557,6 @@ namespace Yavsc.Migrations
|
|||
.HasForeignKey("ExecutorId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.BlogTag", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Blog")
|
||||
.WithMany()
|
||||
.HasForeignKey("PostId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Relationship.Tag")
|
||||
.WithMany()
|
||||
.HasForeignKey("TagId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue