//
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("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Name")
.HasColumnType("TEXT");
b.Property("Password")
.HasColumnType("TEXT");
b.Property("Url")
.HasColumnType("TEXT");
b.Property("Username")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Calendars");
});
#pragma warning restore 612, 618
}
}
}