//
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TestStub;
#nullable disable
namespace TestStub.Migrations
{
[DbContext(typeof(LibraryContext))]
[Migration("20240201143359_BooksMigrations")]
partial class BooksMigrations
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.1");
modelBuilder.Entity("TestStub.BookEntity", b =>
{
b.Property("ID")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Author")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Isbn")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Title")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("ID");
b.ToTable("BooksSet");
});
#pragma warning restore 612, 618
}
}
}