42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
|
// <auto-generated />
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace h3.Migrations
|
|||
|
{
|
|||
|
[DbContext(typeof(GamerContext))]
|
|||
|
[Migration("20231109224704_Init")]
|
|||
|
partial class Init
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
#pragma warning disable 612, 618
|
|||
|
modelBuilder.HasAnnotation("ProductVersion", "7.0.13");
|
|||
|
|
|||
|
modelBuilder.Entity("Person", b =>
|
|||
|
{
|
|||
|
b.Property<int>("Id")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("INTEGER");
|
|||
|
|
|||
|
b.Property<int>("Age")
|
|||
|
.HasColumnType("INTEGER");
|
|||
|
|
|||
|
b.Property<string>("Name")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("TEXT");
|
|||
|
|
|||
|
b.HasKey("Id");
|
|||
|
|
|||
|
b.ToTable("People");
|
|||
|
});
|
|||
|
#pragma warning restore 612, 618
|
|||
|
}
|
|||
|
}
|
|||
|
}
|