|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
// <auto-generated />
|
|
|
|
|
using EntityFrameworkLOL;
|
|
|
|
|
using EntityFrameworkLOL.DBContexts;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
@ -9,9 +9,9 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
|
|
|
|
|
|
namespace EntityFrameworkLOL.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(ChampionContext))]
|
|
|
|
|
[Migration("20230201163336_MigrationWallah")]
|
|
|
|
|
partial class MigrationWallah
|
|
|
|
|
[DbContext(typeof(SQLiteContext))]
|
|
|
|
|
[Migration("20230202105714_MigrationWallah2")]
|
|
|
|
|
partial class MigrationWallah2
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
|
|
@ -19,22 +19,18 @@ namespace EntityFrameworkLOL.Migrations
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder.HasAnnotation("ProductVersion", "7.0.2");
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("EntityFrameworkLOL.ChampionEntity", b =>
|
|
|
|
|
modelBuilder.Entity("EntityFrameworkLOL.Entities.RuneEntity", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Bio")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Icon")
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Name");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Champions");
|
|
|
|
|
b.ToTable("Rune");
|
|
|
|
|
});
|
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|