// 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(DotbotDbContext))] [Migration("20171206050609_UserLocations")] partial class UserLocations { 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"); }); modelBuilder.Entity("dotbot.Core.UserLocation", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("City"); b.Property("CityId"); b.Property("Lat"); b.Property("Lng"); b.Property("TimeZone"); b.HasKey("Id"); b.ToTable("UserLocations"); }); #pragma warning restore 612, 618 } } }