52 lines
1.6 KiB
C#
52 lines
1.6 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using Sledgemapper.Helpers;
|
|
|
|
namespace Sledgemapper.Migrations.SqliteMigrations
|
|
{
|
|
[DbContext(typeof(SqliteDataContext))]
|
|
[Migration("20200102102942_InitialCreate")]
|
|
partial class InitialCreate
|
|
{
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "3.1.0");
|
|
|
|
modelBuilder.Entity("Sledgemapper.Entities.User", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("FirstName")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("LastName")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Initials")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<byte[]>("PasswordHash")
|
|
.HasColumnType("BLOB");
|
|
|
|
b.Property<byte[]>("PasswordSalt")
|
|
.HasColumnType("BLOB");
|
|
|
|
b.Property<string>("Username")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Users");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|