elsa-core/samples/Sample14/Migrations/20190908092246_InitialCreate.Designer.cs

88 lines
2.4 KiB
C#

// <auto-generated />
using System;
using Elsa.Persistence.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Sample14.Migrations
{
[DbContext(typeof(ElsaContext))]
[Migration("20190908092246_InitialCreate")]
partial class InitialCreate
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "2.2.6-servicing-10079");
modelBuilder.Entity("Elsa.Models.WorkflowDefinition", b =>
{
b.Property<string>("Id");
b.Property<int>("Version");
b.Property<string>("Activities");
b.Property<string>("Connections");
b.Property<string>("Description");
b.Property<bool>("IsLatest");
b.Property<bool>("IsPublished");
b.Property<bool>("IsSingleton");
b.Property<string>("Name");
b.Property<string>("Variables");
b.HasKey("Id", "Version");
b.ToTable("WorkflowDefinitions");
});
modelBuilder.Entity("Elsa.Models.WorkflowInstance", b =>
{
b.Property<string>("Id");
b.Property<string>("Activities");
b.Property<string>("BlockingActivities");
b.Property<string>("CorrelationId");
b.Property<DateTime>("CreatedAt");
b.Property<string>("DefinitionId");
b.Property<string>("ExecutionLog");
b.Property<string>("Fault");
b.Property<DateTime?>("FinishedAt");
b.Property<DateTime?>("HaltedAt");
b.Property<string>("Input");
b.Property<string>("Scopes");
b.Property<DateTime?>("StartedAt");
b.Property<int>("Status");
b.Property<int>("Version");
b.HasKey("Id");
b.ToTable("WorkflowInstances");
});
#pragma warning restore 612, 618
}
}
}