//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace RomRepoMgr.Database.Migrations
{
[DbContext(typeof(Context))]
internal class ContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "3.1.7");
modelBuilder.Entity("RomRepoMgr.Database.Models.DbFile", b =>
{
b.Property("Id").ValueGeneratedOnAdd().HasColumnType("INTEGER");
b.Property("Crc32").HasColumnType("TEXT").HasMaxLength(8);
b.Property("CreatedOn").ValueGeneratedOnAdd().HasColumnType("TEXT");
b.Property("Md5").HasColumnType("TEXT").HasMaxLength(32);
b.Property("Sha1").HasColumnType("TEXT").HasMaxLength(40);
b.Property("Sha256").HasColumnType("TEXT").HasMaxLength(64);
b.Property("Size").HasColumnType("INTEGER");
b.Property("UpdatedOn").ValueGeneratedOnAddOrUpdate().HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("Crc32");
b.HasIndex("Sha1");
b.HasIndex("Sha256");
b.HasIndex("Size");
b.ToTable("Files");
});
#pragma warning restore 612, 618
}
}
}