333 lines
12 KiB
C#
333 lines
12 KiB
C#
// <auto-generated />
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using Portfolio.Infrastructure;
|
|
|
|
#nullable disable
|
|
|
|
namespace Portfolio.Infrastructure.Migrations
|
|
{
|
|
[DbContext(typeof(ApplicationDbContext))]
|
|
partial class ApplicationDbContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "9.0.2")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
|
|
|
modelBuilder.Entity("Portfolio.Domain.Features.Pokemon.Pokemon", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
|
|
|
b.Property<bool>("IsVariation")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<int>("PokemonId")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("PokemonName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SleepType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Speciality")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VariationName")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Pokemons");
|
|
|
|
b.HasData(
|
|
new
|
|
{
|
|
Id = 1,
|
|
IsVariation = false,
|
|
PokemonId = 1,
|
|
PokemonName = "Bulbasaur",
|
|
SleepType = "Dozing",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 2,
|
|
IsVariation = false,
|
|
PokemonId = 2,
|
|
PokemonName = "Ivysaur",
|
|
SleepType = "Dozing",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 3,
|
|
IsVariation = false,
|
|
PokemonId = 3,
|
|
PokemonName = "Venasaur",
|
|
SleepType = "Dozing",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 4,
|
|
IsVariation = false,
|
|
PokemonId = 4,
|
|
PokemonName = "Charmander",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 5,
|
|
IsVariation = false,
|
|
PokemonId = 5,
|
|
PokemonName = "Charmeleon",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 6,
|
|
IsVariation = false,
|
|
PokemonId = 6,
|
|
PokemonName = "Charizard",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 7,
|
|
IsVariation = false,
|
|
PokemonId = 7,
|
|
PokemonName = "Squirtle",
|
|
SleepType = "Slumbering",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 8,
|
|
IsVariation = false,
|
|
PokemonId = 8,
|
|
PokemonName = "Wartortle",
|
|
SleepType = "Slumbering",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 9,
|
|
IsVariation = false,
|
|
PokemonId = 9,
|
|
PokemonName = "Blastoise",
|
|
SleepType = "Slumbering",
|
|
Speciality = "Ingredients"
|
|
},
|
|
new
|
|
{
|
|
Id = 10,
|
|
IsVariation = false,
|
|
PokemonId = 10,
|
|
PokemonName = "Caterpie",
|
|
SleepType = "Dozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 11,
|
|
IsVariation = false,
|
|
PokemonId = 11,
|
|
PokemonName = "Metapod",
|
|
SleepType = "Dozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 12,
|
|
IsVariation = false,
|
|
PokemonId = 12,
|
|
PokemonName = "Butterfree",
|
|
SleepType = "Dozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 13,
|
|
IsVariation = false,
|
|
PokemonId = 19,
|
|
PokemonName = "Rattata",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 14,
|
|
IsVariation = false,
|
|
PokemonId = 20,
|
|
PokemonName = "Raticate",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 15,
|
|
IsVariation = false,
|
|
PokemonId = 23,
|
|
PokemonName = "Ekans",
|
|
SleepType = "Dozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 16,
|
|
IsVariation = false,
|
|
PokemonId = 24,
|
|
PokemonName = "Arbok",
|
|
SleepType = "Dozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 17,
|
|
IsVariation = false,
|
|
PokemonId = 25,
|
|
PokemonName = "Pikachu",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 18,
|
|
IsVariation = false,
|
|
PokemonId = 26,
|
|
PokemonName = "Raticate",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 19,
|
|
IsVariation = false,
|
|
PokemonId = 35,
|
|
PokemonName = "Clefairy",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 20,
|
|
IsVariation = false,
|
|
PokemonId = 36,
|
|
PokemonName = "Clefable",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 21,
|
|
IsVariation = false,
|
|
PokemonId = 37,
|
|
PokemonName = "Vulpix",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 22,
|
|
IsVariation = false,
|
|
PokemonId = 38,
|
|
PokemonName = "Ninetails",
|
|
SleepType = "Snoozing",
|
|
Speciality = "Berries"
|
|
},
|
|
new
|
|
{
|
|
Id = 23,
|
|
IsVariation = true,
|
|
PokemonId = 37,
|
|
PokemonName = "Vulpix",
|
|
SleepType = "Slumbering",
|
|
Speciality = "Berries",
|
|
VariationName = "Alolan"
|
|
},
|
|
new
|
|
{
|
|
Id = 24,
|
|
IsVariation = true,
|
|
PokemonId = 38,
|
|
PokemonName = "Ninetails",
|
|
SleepType = "Slumbering",
|
|
Speciality = "Berries",
|
|
VariationName = "Alolan"
|
|
});
|
|
});
|
|
|
|
modelBuilder.Entity("Portfolio.Domain.Features.Pokemon_Natures.PokemonNatures", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
|
|
|
b.Property<int>("BerryRating")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IngredientRating")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Nature")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("SkillRating")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("PokemonNatures");
|
|
});
|
|
|
|
modelBuilder.Entity("Portfolio.Domain.Features.Pokemon_Subskills.PokemonSubskills", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
|
|
|
b.Property<int>("BerryRank")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IngredientRank")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("SkillRank")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("SubSkill")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("PokemonSubskills");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|