//
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
{
///
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")
.HasColumnType("TEXT");
b.Property("Notes")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Route")
.IsRequired()
.HasColumnType("TEXT");
b.Property("WeightPounds")
.HasColumnType("REAL");
b.HasKey("DateTime");
b.ToTable("Rucks");
});
#pragma warning restore 612, 618
}
}
}