//
using System;
using IntroSkipper.Db;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
#nullable disable
namespace IntroSkipper.Migrations
{
[DbContext(typeof(IntroSkipperDbContext))]
partial class IntroSkipperDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.10");
modelBuilder.Entity("IntroSkipper.Db.DbSeasonInfo", b =>
{
b.Property("SeasonId")
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("Action")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(0);
b.Property("EpisodeIds")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("SeasonId", "Type");
b.HasIndex("SeasonId");
b.ToTable("DbSeasonInfo", (string)null);
});
modelBuilder.Entity("IntroSkipper.Db.DbSegment", b =>
{
b.Property("ItemId")
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("End")
.ValueGeneratedOnAdd()
.HasColumnType("REAL")
.HasDefaultValue(0.0);
b.Property("Start")
.ValueGeneratedOnAdd()
.HasColumnType("REAL")
.HasDefaultValue(0.0);
b.HasKey("ItemId", "Type");
b.HasIndex("ItemId");
b.ToTable("DbSegment", (string)null);
});
#pragma warning restore 612, 618
}
}
}