// <auto-generated />

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Tel.Egram.Services.Persistance.Migrations
{
    [DbContext(typeof(DatabaseContext))]
    [Migration("20180922141453_KeyValue")]
    partial class KeyValue
    {
        protected override void BuildTargetModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .HasAnnotation("ProductVersion", "2.1.3-rtm-32065");

            modelBuilder.Entity("Tel.Egram.Services.Persistance.Entities.KeyValueEntity", b =>
                {
                    b.Property<string>("Key")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("Value");

                    b.HasKey("Key");

                    b.ToTable("key_value");
                });
#pragma warning restore 612, 618
        }
    }
}
