refactoring & pv authorization

This commit is contained in:
Paul Schneider 2019-01-26 14:23:53 +00:00
commit 5a08e29d11
16 changed files with 2992 additions and 49 deletions

View file

@ -123,6 +123,9 @@ namespace Yavsc.Migrations
b.Property<DateTime>("DateModified");
b.Property<string>("TargetId")
.IsRequired();
b.Property<string>("UserCreated");
b.Property<string>("UserModified");
@ -1497,6 +1500,13 @@ namespace Yavsc.Migrations
.HasForeignKey("UserId");
});
modelBuilder.Entity("Yavsc.Models.Access.Ban", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")
.WithMany()
.HasForeignKey("TargetId");
});
modelBuilder.Entity("Yavsc.Models.Access.BlackListed", b =>
{
b.HasOne("Yavsc.Models.ApplicationUser")