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