//
using System;
using BrightGlimmer.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace BrightGlimmer.Data.Migrations.Auth
{
[DbContext(typeof(AuthContext))]
[Migration("20190505233325_Create-Database")]
partial class CreateDatabase
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "2.2.4-servicing-10062");
modelBuilder.Entity("BrightGlimmer.Domain.Auth.User", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd();
b.Property("AccountLocked");
b.Property("CreatedDate");
b.Property("Email");
b.Property("EmailConfirmed");
b.Property("FirstName");
b.Property("IsDeleted");
b.Property("LastName");
b.Property("MiddleName");
b.Property("ModifiedDate");
b.Property("PasswordHash");
b.Property("RetryAttempts");
b.Property("Username");
b.HasKey("Id");
b.ToTable("Users");
});
#pragma warning restore 612, 618
}
}
}