usaquote-api/Migrations/UsaquoteContextModelSnapsho...

38 lines
1.1 KiB
C#

// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using usaquote_api.Data;
namespace usaquote_api.Migrations
{
[DbContext(typeof(UsaquoteContext))]
partial class UsaquoteContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "3.1.8");
modelBuilder.Entity("usaquote_api.Models.Quote", b =>
{
b.Property<int>("ID")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("content")
.HasColumnType("TEXT");
b.Property<string>("speaker")
.HasColumnType("TEXT");
b.HasKey("ID");
b.ToTable("Quotes");
});
#pragma warning restore 612, 618
}
}
}