// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace barkmanapi.Migrations { [DbContext(typeof(BarkContext))] [Migration("20250109192017_InitialCreate")] partial class InitialCreate { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "9.0.0"); modelBuilder.Entity("InventoryItems", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Brand") .IsRequired() .HasColumnType("TEXT"); b.Property("Name") .IsRequired() .HasColumnType("TEXT"); b.Property("Notes") .HasColumnType("TEXT"); b.Property("RentalPrice") .HasColumnType("REAL"); b.Property("ReplacementCost") .HasColumnType("REAL"); b.Property("SerialNumber") .HasColumnType("TEXT"); b.Property("Status") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Inventory"); }); #pragma warning restore 612, 618 } } }