This commit is contained in:
2017-02-01 03:52:38 +01:00
parent cb8ee8086b
commit cf592a278d

View File

@ -1,6 +1,8 @@
using System;
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.Entity.Metadata;
using Microsoft.Data.Entity.Migrations;
using Yavsc.Models;
namespace Yavsc.Migrations
@ -95,14 +97,32 @@ namespace Yavsc.Migrations
b.HasAnnotation("Relational:TableName", "AspNetUserRoles");
});
modelBuilder.Entity("Yavsc.Models.Access.Ban", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<DateTime>("DateCreated");
b.Property<DateTime>("DateModified");
b.Property<string>("UserCreated");
b.Property<string>("UserModified");
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Access.BlackListed", b =>
{
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("OwnerId");
b.Property<string>("OwnerId")
.IsRequired();
b.Property<string>("UserId");
b.Property<string>("UserId")
.IsRequired();
b.HasKey("Id");
});
@ -735,13 +755,13 @@ namespace Yavsc.Migrations
b.Property<long>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("Action");
b.Property<string>("ActivityCode")
.IsRequired();
b.Property<string>("Title");
b.Property<string>("ViewName");
b.HasKey("Id");
});