// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using YouTubeChannelDownloader.Data;

namespace YouTubeChannelDownloader.Migrations
{
    [DbContext(typeof(DownloadedVideosContext))]
    [Migration("20210826231651_InitialCreate")]
    partial class InitialCreate
    {
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .HasAnnotation("ProductVersion", "5.0.9");

            modelBuilder.Entity("YouTubeChannelDownloader.Models.DownloadedVideo", b =>
                {
                    b.Property<string>("DownloadedVideoId")
                        .HasColumnType("TEXT");

                    b.Property<DateTime>("DownloadedDateTime")
                        .HasColumnType("TEXT");

                    b.Property<string>("Title")
                        .HasColumnType("TEXT");

                    b.HasKey("DownloadedVideoId");

                    b.ToTable("DownloadedVideos");
                });
#pragma warning restore 612, 618
        }
    }
}
