This commit is contained in:
2017-10-10 20:50:05 +02:00
parent 3487aa2a96
commit 59ff0cbfdd
39 changed files with 28108 additions and 155 deletions

View File

@ -387,17 +387,17 @@ namespace Yavsc.Migrations
b.Property<string>("AuthorId");
b.Property<string>("Content")
.HasAnnotation("MaxLength", 57344);
.HasAnnotation("MaxLength", 56224);
b.Property<DateTime>("DateCreated");
b.Property<DateTime>("DateModified");
b.Property<string>("Photo");
b.Property<int>("Rate")
b.Property<string>("Photo")
.HasAnnotation("MaxLength", 1024);
b.Property<int>("Rate");
b.Property<string>("Title")
.HasAnnotation("MaxLength", 1024);
@ -424,8 +424,7 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Content")
.HasAnnotation("MaxLength", 1024);
b.Property<string>("Content");
b.Property<DateTime>("DateCreated");
@ -433,7 +432,8 @@ namespace Yavsc.Migrations
b.Property<long>("PostId");
b.Property<string>("UserCreated");
b.Property<string>("UserCreated")
.IsRequired();
b.Property<string>("UserModified");
@ -837,6 +837,24 @@ namespace Yavsc.Migrations
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Messaging.Announce", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<int>("For");
b.Property<string>("Message");
b.Property<string>("OwnerId");
b.Property<string>("Sender");
b.Property<string>("Topic");
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Messaging.ClientProviderInfo", b =>
{
b.Property<string>("UserId");
@ -1375,6 +1393,10 @@ namespace Yavsc.Migrations
b.HasOne("Yavsc.Models.Blog.BlogPost")
.WithMany()
.HasForeignKey("PostId");
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("UserCreated");
});
modelBuilder.Entity("Yavsc.Models.Calendar.Schedule", b =>
@ -1510,6 +1532,13 @@ namespace Yavsc.Migrations
.HasForeignKey("ContextId");
});
modelBuilder.Entity("Yavsc.Models.Messaging.Announce", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("OwnerId");
});
modelBuilder.Entity("Yavsc.Models.Messaging.ClientProviderInfo", b =>
{
b.HasOne("Yavsc.Models.Relationship.Location")