clean up for mailing

This commit is contained in:
Paul Schneider 2021-06-03 15:12:29 +01:00
commit 72bf0f458d
14 changed files with 2934 additions and 116 deletions

View file

@ -1414,8 +1414,7 @@ namespace Yavsc.Migrations
modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b =>
{
b.Property<string>("Id")
.HasAnnotation("MaxLength", 256);
b.Property<string>("Id");
b.Property<string>("Body")
.HasAnnotation("MaxLength", 65536);
@ -1424,18 +1423,11 @@ namespace Yavsc.Migrations
b.Property<DateTime>("DateModified");
b.Property<string>("ManagerId")
.IsRequired();
b.Property<string>("ReplyToAddress");
b.Property<string>("SuccessorId")
.IsRequired();
b.Property<int>("ToSend");
b.Property<string>("Topic")
.HasAnnotation("MaxLength", 256);
b.Property<string>("Topic");
b.Property<string>("UserCreated");
@ -2017,17 +2009,6 @@ namespace Yavsc.Migrations
.HasForeignKey("TraducerId");
});
modelBuilder.Entity("Yavsc.Server.Models.EMailing.MailingTemplate", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("ManagerId");
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("SuccessorId");
});
modelBuilder.Entity("Yavsc.Server.Models.IT.Project", b =>
{
b.HasOne("Yavsc.Models.Workflow.Activity")