record-my-ruck/RecordMyRuck/Migrations/RecordMyRuckDbContextModelSnapshot.cs
2024-05-16 22:30:18 -06:00

44 lines
1.3 KiB
C#

// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using RecordMyRuck.Models;
#nullable disable
namespace RecordMyRuck.Migrations
{
[DbContext(typeof(RecordMyRuckDbContext))]
partial class RecordMyRuckDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(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
}
}
}