// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using RazorPages.Data; #nullable disable namespace RazorPages.Migrations { [DbContext(typeof(RazorPagesClimbContext))] [Migration("20250222074354_InitialCreate")] partial class InitialCreate { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "9.0.2"); modelBuilder.Entity("RazorPages.Models.Climb", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Description") .HasColumnType("TEXT"); b.Property("Grade") .HasColumnType("TEXT"); b.Property("Location") .HasColumnType("TEXT"); b.Property("Name") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Climb"); }); #pragma warning restore 612, 618 } } }