record-my-ruck/RecordMyRuck/Migrations/RecordMyRuckDbContextModelSnapshot.cs

44 lines
1.3 KiB
C#
Raw Permalink Normal View History

2024-05-17 04:30:18 +00:00
// <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
}
}
}