// using EntityFrameworkLOL; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace EntityFrameworkLOL.Migrations { [DbContext(typeof(ChampionContext))] [Migration("20230201163336_MigrationWallah")] partial class MigrationWallah { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "7.0.2"); modelBuilder.Entity("EntityFrameworkLOL.ChampionEntity", b => { b.Property("Name") .HasColumnType("TEXT"); b.Property("Bio") .IsRequired() .HasColumnType("TEXT"); b.Property("Icon") .IsRequired() .HasColumnType("TEXT"); b.HasKey("Name"); b.ToTable("Champions"); }); #pragma warning restore 612, 618 } } }