blazor-calendar/BlazorApp/Migrations/20210701193227_CalendarAddN...

46 lines
1.3 KiB
C#
Raw Permalink Normal View History

2021-07-03 12:19:53 +00:00
// <auto-generated />
using BlazorApp;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace BlazorApp.Migrations
{
[DbContext(typeof(MyContext))]
[Migration("20210701193227_CalendarAddName")]
partial class CalendarAddName
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "5.0.7");
modelBuilder.Entity("BlazorApp.Data.Calendar", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("Name")
.HasColumnType("TEXT");
b.Property<string>("Password")
.HasColumnType("TEXT");
b.Property<string>("Url")
.HasColumnType("TEXT");
b.Property<string>("Username")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Calendars");
});
#pragma warning restore 612, 618
}
}
}