53 lines
2 KiB
C#
53 lines
2 KiB
C#
// // <auto-generated />
|
|
// using System;
|
|
// using Microsoft.EntityFrameworkCore;
|
|
// using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
// using Microsoft.EntityFrameworkCore.Metadata;
|
|
// using Microsoft.EntityFrameworkCore.Migrations;
|
|
// using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
// using Sledgemapper.Helpers;
|
|
|
|
// namespace Sledgemapper.Migrations.SqlServerMigrations
|
|
// {
|
|
// [DbContext(typeof(DataContext))]
|
|
// [Migration("20200102103423_InitialCreate")]
|
|
// partial class InitialCreate
|
|
// {
|
|
// protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
// {
|
|
// #pragma warning disable 612, 618
|
|
// modelBuilder
|
|
// .HasAnnotation("ProductVersion", "3.1.0")
|
|
// .HasAnnotation("Relational:MaxIdentifierLength", 128)
|
|
// .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
// modelBuilder.Entity("Sledgemapper.Entities.User", b =>
|
|
// {
|
|
// b.Property<int>("Id")
|
|
// .ValueGeneratedOnAdd()
|
|
// .HasColumnType("int")
|
|
// .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
// b.Property<string>("FirstName")
|
|
// .HasColumnType("nvarchar(max)");
|
|
|
|
// b.Property<string>("LastName")
|
|
// .HasColumnType("nvarchar(max)");
|
|
|
|
// b.Property<byte[]>("PasswordHash")
|
|
// .HasColumnType("varbinary(max)");
|
|
|
|
// b.Property<byte[]>("PasswordSalt")
|
|
// .HasColumnType("varbinary(max)");
|
|
|
|
// b.Property<string>("Username")
|
|
// .HasColumnType("nvarchar(max)");
|
|
|
|
// b.HasKey("Id");
|
|
|
|
// b.ToTable("Users");
|
|
// });
|
|
// #pragma warning restore 612, 618
|
|
// }
|
|
// }
|
|
// }
|