// using dotbot.Core; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using System; namespace dotbot.Migrations { [DbContext(typeof(DotbotDb))] [Migration("20171205052158_AddEmailTable")] partial class AddEmailTable { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "2.0.1-rtm-125"); modelBuilder.Entity("dotbot.Core.Definition", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("Def"); b.HasKey("Id"); b.ToTable("Defs"); }); modelBuilder.Entity("dotbot.Core.Email", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("EmailAddress"); b.HasKey("Id"); b.ToTable("Emails"); }); #pragma warning restore 612, 618 } } }