47 lines
1.4 KiB
C#
47 lines
1.4 KiB
C#
|
// <auto-generated />
|
|||
|
using System;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
using RecordMyRuck.Models;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace RecordMyRuck.Migrations
|
|||
|
{
|
|||
|
[DbContext(typeof(RecordMyRuckDbContext))]
|
|||
|
[Migration("20240517025819_CreateRuck")]
|
|||
|
partial class CreateRuck
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
#pragma warning disable 612, 618
|
|||
|
modelBuilder.HasAnnotation("ProductVersion", "8.0.4");
|
|||
|
|
|||
|
modelBuilder.Entity("RecordMyRuck.Models.Ruck", b =>
|
|||
|
{
|
|||
|
b.Property<DateTime>("DateTime")
|
|||
|
.HasColumnType("TEXT");
|
|||
|
|
|||
|
b.Property<string>("Notes")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("TEXT");
|
|||
|
|
|||
|
b.Property<string>("Route")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("TEXT");
|
|||
|
|
|||
|
b.Property<float>("WeightPounds")
|
|||
|
.HasColumnType("REAL");
|
|||
|
|
|||
|
b.HasKey("DateTime");
|
|||
|
|
|||
|
b.ToTable("Rucks");
|
|||
|
});
|
|||
|
#pragma warning restore 612, 618
|
|||
|
}
|
|||
|
}
|
|||
|
}
|