Comments
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user