//
using System;
using Drab.LocalDb;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Drab.LocalDb.Migrations
{
[DbContext(typeof(LocalDbContext))]
[Migration("20211101180516_Initial")]
partial class Initial
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "5.0.11");
modelBuilder.Entity("Drab.LocalDb.Entities.OrderDb", b =>
{
b.Property("OrderId")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Created")
.HasColumnType("TEXT");
b.Property("DokId")
.HasColumnType("INTEGER");
b.Property("Filename")
.HasColumnType("TEXT");
b.Property("IsPrinted")
.HasColumnType("INTEGER");
b.Property("OrderNumber")
.HasColumnType("TEXT");
b.Property("Shop")
.HasColumnType("TEXT");
b.HasKey("OrderId");
b.ToTable("Orders");
});
#pragma warning restore 612, 618
}
}
}