mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-04 03:27:05 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
// <auto-generated />
 | 
						|
using System;
 | 
						|
using API.Data;
 | 
						|
using Microsoft.EntityFrameworkCore;
 | 
						|
using Microsoft.EntityFrameworkCore.Infrastructure;
 | 
						|
using Microsoft.EntityFrameworkCore.Migrations;
 | 
						|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 | 
						|
 | 
						|
namespace API.Data.Migrations
 | 
						|
{
 | 
						|
    [DbContext(typeof(DataContext))]
 | 
						|
    [Migration("20201213205325_AddUser")]
 | 
						|
    partial class AddUser
 | 
						|
    {
 | 
						|
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 | 
						|
        {
 | 
						|
#pragma warning disable 612, 618
 | 
						|
            modelBuilder
 | 
						|
                .HasAnnotation("ProductVersion", "5.0.1");
 | 
						|
 | 
						|
            modelBuilder.Entity("API.Entities.AppUser", b =>
 | 
						|
                {
 | 
						|
                    b.Property<int>("Id")
 | 
						|
                        .ValueGeneratedOnAdd()
 | 
						|
                        .HasColumnType("INTEGER");
 | 
						|
 | 
						|
                    b.Property<DateTime>("Created")
 | 
						|
                        .HasColumnType("TEXT");
 | 
						|
 | 
						|
                    b.Property<bool>("IsAdmin")
 | 
						|
                        .HasColumnType("INTEGER");
 | 
						|
 | 
						|
                    b.Property<DateTime>("LastActive")
 | 
						|
                        .HasColumnType("TEXT");
 | 
						|
 | 
						|
                    b.Property<byte[]>("PasswordHash")
 | 
						|
                        .HasColumnType("BLOB");
 | 
						|
 | 
						|
                    b.Property<byte[]>("PasswordSalt")
 | 
						|
                        .HasColumnType("BLOB");
 | 
						|
 | 
						|
                    b.Property<uint>("RowVersion")
 | 
						|
                        .IsConcurrencyToken()
 | 
						|
                        .HasColumnType("INTEGER");
 | 
						|
 | 
						|
                    b.Property<string>("UserName")
 | 
						|
                        .HasColumnType("TEXT");
 | 
						|
 | 
						|
                    b.HasKey("Id");
 | 
						|
 | 
						|
                    b.ToTable("Users");
 | 
						|
                });
 | 
						|
#pragma warning restore 612, 618
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |