58 lines
1.6 KiB
C#
58 lines
1.6 KiB
C#
// <auto-generated />
|
|
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<Guid>("Id")
|
|
.ValueGeneratedOnAdd();
|
|
|
|
b.Property<bool>("AccountLocked");
|
|
|
|
b.Property<DateTime>("CreatedDate");
|
|
|
|
b.Property<string>("Email");
|
|
|
|
b.Property<bool>("EmailConfirmed");
|
|
|
|
b.Property<string>("FirstName");
|
|
|
|
b.Property<bool>("IsDeleted");
|
|
|
|
b.Property<string>("LastName");
|
|
|
|
b.Property<string>("MiddleName");
|
|
|
|
b.Property<DateTime>("ModifiedDate");
|
|
|
|
b.Property<string>("PasswordHash");
|
|
|
|
b.Property<int>("RetryAttempts");
|
|
|
|
b.Property<string>("Username");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Users");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|