usaquote-api/Migrations/20200920084041_InitialCreate.Designer.cs
2020-09-21 20:07:48 +10:00

39 lines
1.2 KiB
C#

// <auto-generated />
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<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
}
}
}