//
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using usaquote_api.Data;
namespace usaquote_api.Migrations
{
[DbContext(typeof(UsaquoteContext))]
[Migration("20200920084041_InitialCreate")]
partial class InitialCreate
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "3.1.8");
modelBuilder.Entity("usaquote_api.Models.Quote", b =>
{
b.Property("ID")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("content")
.HasColumnType("TEXT");
b.Property("speaker")
.HasColumnType("TEXT");
b.HasKey("ID");
b.ToTable("Quotes");
});
#pragma warning restore 612, 618
}
}
}