// using System; using AspnetCoreMvcFull.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace AspnetCoreMvcFull.Migrations { [DbContext(typeof(AspnetCoreMvcFullContext))] [Migration("20231130123831_InitialCreate")] partial class InitialCreate { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "8.0.0"); modelBuilder.Entity("AspnetCoreMvcFull.Models.Transactions", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Customer") .IsRequired() .HasMaxLength(60) .HasColumnType("TEXT"); b.Property("DueDate") .HasColumnType("TEXT"); b.Property("Status") .IsRequired() .HasColumnType("TEXT"); b.Property("Total") .HasColumnType("TEXT"); b.Property("TransactionDate") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Transactions"); }); #pragma warning restore 612, 618 } } }