Update EF migrations (#433)

This commit is contained in:
Sipke Schoorstra 2020-10-27 20:49:24 +01:00 committed by GitHub
parent 7c9e375ea6
commit f3fb47ba70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 1265 additions and 23 deletions

View file

@ -0,0 +1,267 @@
// <auto-generated />
using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.MySql
{
[DbContext(typeof(MySqlContext))]
[Migration("20201027194413_Update02")]
partial class Update02
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "3.1.1")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Description")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("DisplayName")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int>("Left")
.HasColumnType("int");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("State")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int>("Top")
.HasColumnType("int");
b.Property<string>("Type")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ActivityDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Output")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("State")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Type")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("ActivityInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("ActivityId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("ActivityType")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("BlockingActivities");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("DestinationActivityId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Outcome")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("SourceActivityId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ConnectionDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("DefinitionId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Description")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<bool>("IsDisabled")
.HasColumnType("tinyint(1)");
b.Property<bool>("IsLatest")
.HasColumnType("tinyint(1)");
b.Property<bool>("IsPublished")
.HasColumnType("tinyint(1)");
b.Property<bool>("IsSingleton")
.HasColumnType("tinyint(1)");
b.Property<string>("Name")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Variables")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int>("Version")
.HasColumnType("int");
b.Property<string>("VersionId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.HasKey("Id");
b.ToTable("WorkflowDefinitionVersions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<DateTime?>("AbortedAt")
.HasColumnType("datetime(6)");
b.Property<string>("CorrelationId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<DateTime>("CreatedAt")
.HasColumnType("datetime(6)");
b.Property<string>("DefinitionId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("ExecutionLog")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Fault")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<DateTime?>("FaultedAt")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("FinishedAt")
.HasColumnType("datetime(6)");
b.Property<string>("Input")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("InstanceId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Scope")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<DateTime?>("StartedAt")
.HasColumnType("datetime(6)");
b.Property<string>("Status")
.IsRequired()
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<int>("Version")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("WorkflowInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Activities")
.HasForeignKey("WorkflowDefinitionVersionId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("Activities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("BlockingActivities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Connections")
.HasForeignKey("WorkflowDefinitionVersionId");
});
#pragma warning restore 612, 618
}
}
}

View file

@ -0,0 +1,32 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.MySql
{
public partial class Update02 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scopes",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scope",
table: "WorkflowInstances",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scope",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scopes",
table: "WorkflowInstances",
type: "longtext CHARACTER SET utf8mb4",
nullable: true);
}
}
}

View file

@ -3,6 +3,7 @@ using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.MySql
@ -213,7 +214,7 @@ namespace Elsa.Persistence.EntityFrameworkCore.Migrations.MySql
b.Property<string>("InstanceId")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<string>("Scopes")
b.Property<string>("Scope")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.Property<DateTime?>("StartedAt")

View file

@ -0,0 +1,270 @@
// <auto-generated />
using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.PostgreSql
{
[DbContext(typeof(PostgreSqlContext))]
[Migration("20201027192219_Update02")]
partial class Update02
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
.HasAnnotation("ProductVersion", "3.1.1")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("text");
b.Property<string>("Description")
.HasColumnType("text");
b.Property<string>("DisplayName")
.HasColumnType("text");
b.Property<int>("Left")
.HasColumnType("integer");
b.Property<string>("Name")
.HasColumnType("text");
b.Property<string>("State")
.HasColumnType("text");
b.Property<int>("Top")
.HasColumnType("integer");
b.Property<string>("Type")
.HasColumnType("text");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ActivityDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("text");
b.Property<string>("Output")
.HasColumnType("text");
b.Property<string>("State")
.HasColumnType("text");
b.Property<string>("Type")
.HasColumnType("text");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("ActivityInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("text");
b.Property<string>("ActivityType")
.HasColumnType("text");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("BlockingActivities");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("DestinationActivityId")
.HasColumnType("text");
b.Property<string>("Outcome")
.HasColumnType("text");
b.Property<string>("SourceActivityId")
.HasColumnType("text");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ConnectionDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("DefinitionId")
.HasColumnType("text");
b.Property<string>("Description")
.HasColumnType("text");
b.Property<bool>("IsDisabled")
.HasColumnType("boolean");
b.Property<bool>("IsLatest")
.HasColumnType("boolean");
b.Property<bool>("IsPublished")
.HasColumnType("boolean");
b.Property<bool>("IsSingleton")
.HasColumnType("boolean");
b.Property<string>("Name")
.HasColumnType("text");
b.Property<string>("Variables")
.HasColumnType("text");
b.Property<int>("Version")
.HasColumnType("integer");
b.Property<string>("VersionId")
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("WorkflowDefinitionVersions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<DateTime?>("AbortedAt")
.HasColumnType("timestamp without time zone");
b.Property<string>("CorrelationId")
.HasColumnType("text");
b.Property<DateTime>("CreatedAt")
.HasColumnType("timestamp without time zone");
b.Property<string>("DefinitionId")
.HasColumnType("text");
b.Property<string>("ExecutionLog")
.HasColumnType("text");
b.Property<string>("Fault")
.HasColumnType("text");
b.Property<DateTime?>("FaultedAt")
.HasColumnType("timestamp without time zone");
b.Property<DateTime?>("FinishedAt")
.HasColumnType("timestamp without time zone");
b.Property<string>("Input")
.HasColumnType("text");
b.Property<string>("InstanceId")
.HasColumnType("text");
b.Property<string>("Scope")
.HasColumnType("text");
b.Property<DateTime?>("StartedAt")
.HasColumnType("timestamp without time zone");
b.Property<string>("Status")
.IsRequired()
.HasColumnType("text");
b.Property<int>("Version")
.HasColumnType("integer");
b.HasKey("Id");
b.ToTable("WorkflowInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Activities")
.HasForeignKey("WorkflowDefinitionVersionId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("Activities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("BlockingActivities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Connections")
.HasForeignKey("WorkflowDefinitionVersionId");
});
#pragma warning restore 612, 618
}
}
}

View file

@ -0,0 +1,32 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.PostgreSql
{
public partial class Update02 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scopes",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scope",
table: "WorkflowInstances",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scope",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scopes",
table: "WorkflowInstances",
type: "text",
nullable: true);
}
}
}

View file

@ -3,6 +3,7 @@ using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.PostgreSql
@ -216,7 +217,7 @@ namespace Elsa.Persistence.EntityFrameworkCore.Migrations.PostgreSql
b.Property<string>("InstanceId")
.HasColumnType("text");
b.Property<string>("Scopes")
b.Property<string>("Scope")
.HasColumnType("text");
b.Property<DateTime?>("StartedAt")

View file

@ -0,0 +1,275 @@
// <auto-generated />
using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.SqlServer
{
[DbContext(typeof(SqlServerContext))]
[Migration("20201027192116_Update02")]
partial class Update02
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "3.1.1")
.HasAnnotation("Relational:MaxIdentifierLength", 128)
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<string>("ActivityId")
.HasColumnType("nvarchar(max)");
b.Property<string>("Description")
.HasColumnType("nvarchar(max)");
b.Property<string>("DisplayName")
.HasColumnType("nvarchar(max)");
b.Property<int>("Left")
.HasColumnType("int");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("State")
.HasColumnType("nvarchar(max)");
b.Property<int>("Top")
.HasColumnType("int");
b.Property<string>("Type")
.HasColumnType("nvarchar(max)");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ActivityDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<string>("ActivityId")
.HasColumnType("nvarchar(max)");
b.Property<string>("Output")
.HasColumnType("nvarchar(max)");
b.Property<string>("State")
.HasColumnType("nvarchar(max)");
b.Property<string>("Type")
.HasColumnType("nvarchar(max)");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("ActivityInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<string>("ActivityId")
.HasColumnType("nvarchar(max)");
b.Property<string>("ActivityType")
.HasColumnType("nvarchar(max)");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("BlockingActivities");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<string>("DestinationActivityId")
.HasColumnType("nvarchar(max)");
b.Property<string>("Outcome")
.HasColumnType("nvarchar(max)");
b.Property<string>("SourceActivityId")
.HasColumnType("nvarchar(max)");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ConnectionDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<string>("DefinitionId")
.HasColumnType("nvarchar(max)");
b.Property<string>("Description")
.HasColumnType("nvarchar(max)");
b.Property<bool>("IsDisabled")
.HasColumnType("bit");
b.Property<bool>("IsLatest")
.HasColumnType("bit");
b.Property<bool>("IsPublished")
.HasColumnType("bit");
b.Property<bool>("IsSingleton")
.HasColumnType("bit");
b.Property<string>("Name")
.HasColumnType("nvarchar(max)");
b.Property<string>("Variables")
.HasColumnType("nvarchar(max)");
b.Property<int>("Version")
.HasColumnType("int");
b.Property<string>("VersionId")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.ToTable("WorkflowDefinitionVersions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<DateTime?>("AbortedAt")
.HasColumnType("datetime2");
b.Property<string>("CorrelationId")
.HasColumnType("nvarchar(max)");
b.Property<DateTime>("CreatedAt")
.HasColumnType("datetime2");
b.Property<string>("DefinitionId")
.HasColumnType("nvarchar(max)");
b.Property<string>("ExecutionLog")
.HasColumnType("nvarchar(max)");
b.Property<string>("Fault")
.HasColumnType("nvarchar(max)");
b.Property<DateTime?>("FaultedAt")
.HasColumnType("datetime2");
b.Property<DateTime?>("FinishedAt")
.HasColumnType("datetime2");
b.Property<string>("Input")
.HasColumnType("nvarchar(max)");
b.Property<string>("InstanceId")
.HasColumnType("nvarchar(max)");
b.Property<string>("Scope")
.HasColumnType("nvarchar(max)");
b.Property<DateTime?>("StartedAt")
.HasColumnType("datetime2");
b.Property<string>("Status")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<int>("Version")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("WorkflowInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Activities")
.HasForeignKey("WorkflowDefinitionVersionId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("Activities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("BlockingActivities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Connections")
.HasForeignKey("WorkflowDefinitionVersionId");
});
#pragma warning restore 612, 618
}
}
}

View file

@ -0,0 +1,32 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.SqlServer
{
public partial class Update02 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scopes",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scope",
table: "WorkflowInstances",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scope",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scopes",
table: "WorkflowInstances",
type: "nvarchar(max)",
nullable: true);
}
}
}

View file

@ -4,6 +4,7 @@ using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.SqlServer
@ -221,7 +222,7 @@ namespace Elsa.Persistence.EntityFrameworkCore.Migrations.SqlServer
b.Property<string>("InstanceId")
.HasColumnType("nvarchar(max)");
b.Property<string>("Scopes")
b.Property<string>("Scope")
.HasColumnType("nvarchar(max)");
b.Property<DateTime?>("StartedAt")

View file

@ -0,0 +1,266 @@
// <auto-generated />
using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.Sqlite
{
[DbContext(typeof(SqliteContext))]
[Migration("20201027192013_Update02")]
partial class Update02
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "3.1.1");
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("TEXT");
b.Property<string>("Description")
.HasColumnType("TEXT");
b.Property<string>("DisplayName")
.HasColumnType("TEXT");
b.Property<int>("Left")
.HasColumnType("INTEGER");
b.Property<string>("Name")
.HasColumnType("TEXT");
b.Property<string>("State")
.HasColumnType("TEXT");
b.Property<int>("Top")
.HasColumnType("INTEGER");
b.Property<string>("Type")
.HasColumnType("TEXT");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ActivityDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("TEXT");
b.Property<string>("Output")
.HasColumnType("TEXT");
b.Property<string>("State")
.HasColumnType("TEXT");
b.Property<string>("Type")
.HasColumnType("TEXT");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("ActivityInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("ActivityId")
.HasColumnType("TEXT");
b.Property<string>("ActivityType")
.HasColumnType("TEXT");
b.Property<int?>("WorkflowInstanceId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("WorkflowInstanceId");
b.ToTable("BlockingActivities");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("DestinationActivityId")
.HasColumnType("TEXT");
b.Property<string>("Outcome")
.HasColumnType("TEXT");
b.Property<string>("SourceActivityId")
.HasColumnType("TEXT");
b.Property<int?>("WorkflowDefinitionVersionId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("WorkflowDefinitionVersionId");
b.ToTable("ConnectionDefinitions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("DefinitionId")
.HasColumnType("TEXT");
b.Property<string>("Description")
.HasColumnType("TEXT");
b.Property<bool>("IsDisabled")
.HasColumnType("INTEGER");
b.Property<bool>("IsLatest")
.HasColumnType("INTEGER");
b.Property<bool>("IsPublished")
.HasColumnType("INTEGER");
b.Property<bool>("IsSingleton")
.HasColumnType("INTEGER");
b.Property<string>("Name")
.HasColumnType("TEXT");
b.Property<string>("Variables")
.HasColumnType("TEXT");
b.Property<int>("Version")
.HasColumnType("INTEGER");
b.Property<string>("VersionId")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("WorkflowDefinitionVersions");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<DateTime?>("AbortedAt")
.HasColumnType("TEXT");
b.Property<string>("CorrelationId")
.HasColumnType("TEXT");
b.Property<DateTime>("CreatedAt")
.HasColumnType("TEXT");
b.Property<string>("DefinitionId")
.HasColumnType("TEXT");
b.Property<string>("ExecutionLog")
.HasColumnType("TEXT");
b.Property<string>("Fault")
.HasColumnType("TEXT");
b.Property<DateTime?>("FaultedAt")
.HasColumnType("TEXT");
b.Property<DateTime?>("FinishedAt")
.HasColumnType("TEXT");
b.Property<string>("Input")
.HasColumnType("TEXT");
b.Property<string>("InstanceId")
.HasColumnType("TEXT");
b.Property<string>("Scope")
.HasColumnType("TEXT");
b.Property<DateTime?>("StartedAt")
.HasColumnType("TEXT");
b.Property<string>("Status")
.IsRequired()
.HasColumnType("TEXT");
b.Property<int>("Version")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("WorkflowInstances");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Activities")
.HasForeignKey("WorkflowDefinitionVersionId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityInstanceEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("Activities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.BlockingActivityEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowInstanceEntity", "WorkflowInstance")
.WithMany("BlockingActivities")
.HasForeignKey("WorkflowInstanceId");
});
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ConnectionDefinitionEntity", b =>
{
b.HasOne("Elsa.Persistence.EntityFrameworkCore.Entities.WorkflowDefinitionVersionEntity", "WorkflowDefinitionVersion")
.WithMany("Connections")
.HasForeignKey("WorkflowDefinitionVersionId");
});
#pragma warning restore 612, 618
}
}
}

View file

@ -0,0 +1,32 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.Sqlite
{
public partial class Update02 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scopes",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scope",
table: "WorkflowInstances",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Scope",
table: "WorkflowInstances");
migrationBuilder.AddColumn<string>(
name: "Scopes",
table: "WorkflowInstances",
type: "TEXT",
nullable: true);
}
}
}

View file

@ -3,6 +3,7 @@ using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Elsa.Persistence.EntityFrameworkCore.Migrations.Sqlite
@ -212,7 +213,7 @@ namespace Elsa.Persistence.EntityFrameworkCore.Migrations.Sqlite
b.Property<string>("InstanceId")
.HasColumnType("TEXT");
b.Property<string>("Scopes")
b.Property<string>("Scope")
.HasColumnType("TEXT");
b.Property<DateTime?>("StartedAt")

View file

@ -5,32 +5,43 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Sample23.Migrations
namespace Sample23.Migrations.Sqlite
{
[DbContext(typeof(ElsaContext))]
[Migration("20191210215559_InitialCreate")]
partial class InitialCreate
[Migration("20201027194619_Create")]
partial class Create
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("elsa")
.HasAnnotation("ProductVersion", "3.0.1");
.HasAnnotation("ProductVersion", "3.1.1");
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("TEXT");
b.Property<string>("Description")
.HasColumnType("TEXT");
b.Property<string>("DisplayName")
.HasColumnType("TEXT");
b.Property<int>("Left")
.HasColumnType("INTEGER");
b.Property<string>("Name")
.HasColumnType("TEXT");
b.Property<string>("State")
.HasColumnType("TEXT");
@ -54,7 +65,8 @@ namespace Sample23.Migrations
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("TEXT");
@ -129,7 +141,8 @@ namespace Sample23.Migrations
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("DefinitionId")
.HasColumnType("TEXT");
@ -170,7 +183,8 @@ namespace Sample23.Migrations
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<DateTime?>("AbortedAt")
.HasColumnType("TEXT");
@ -202,7 +216,7 @@ namespace Sample23.Migrations
b.Property<string>("InstanceId")
.HasColumnType("TEXT");
b.Property<string>("Scopes")
b.Property<string>("Scope")
.HasColumnType("TEXT");
b.Property<DateTime?>("StartedAt")

View file

@ -1,9 +1,9 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Sample23.Migrations
namespace Sample23.Migrations.Sqlite
{
public partial class InitialCreate : Migration
public partial class Create : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
@ -50,7 +50,7 @@ namespace Sample23.Migrations
FinishedAt = table.Column<DateTime>(nullable: true),
FaultedAt = table.Column<DateTime>(nullable: true),
AbortedAt = table.Column<DateTime>(nullable: true),
Scopes = table.Column<string>(nullable: true),
Scope = table.Column<string>(nullable: true),
Input = table.Column<string>(nullable: true),
ExecutionLog = table.Column<string>(nullable: true),
Fault = table.Column<string>(nullable: true)
@ -70,6 +70,9 @@ namespace Sample23.Migrations
ActivityId = table.Column<string>(nullable: true),
WorkflowDefinitionVersionId = table.Column<int>(nullable: true),
Type = table.Column<string>(nullable: true),
Name = table.Column<string>(nullable: true),
DisplayName = table.Column<string>(nullable: true),
Description = table.Column<string>(nullable: true),
Left = table.Column<int>(nullable: false),
Top = table.Column<int>(nullable: false),
State = table.Column<string>(nullable: true)

View file

@ -3,8 +3,10 @@ using System;
using Elsa.Persistence.EntityFrameworkCore.DbContexts;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Sample23.Migrations
namespace Sample23.Migrations.Sqlite
{
[DbContext(typeof(ElsaContext))]
partial class ElsaContextModelSnapshot : ModelSnapshot
@ -14,20 +16,30 @@ namespace Sample23.Migrations
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("elsa")
.HasAnnotation("ProductVersion", "3.0.1");
.HasAnnotation("ProductVersion", "3.1.1");
modelBuilder.Entity("Elsa.Persistence.EntityFrameworkCore.Entities.ActivityDefinitionEntity", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("TEXT");
b.Property<string>("Description")
.HasColumnType("TEXT");
b.Property<string>("DisplayName")
.HasColumnType("TEXT");
b.Property<int>("Left")
.HasColumnType("INTEGER");
b.Property<string>("Name")
.HasColumnType("TEXT");
b.Property<string>("State")
.HasColumnType("TEXT");
@ -51,7 +63,8 @@ namespace Sample23.Migrations
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("ActivityId")
.HasColumnType("TEXT");
@ -126,7 +139,8 @@ namespace Sample23.Migrations
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<string>("DefinitionId")
.HasColumnType("TEXT");
@ -167,7 +181,8 @@ namespace Sample23.Migrations
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
b.Property<DateTime?>("AbortedAt")
.HasColumnType("TEXT");
@ -199,7 +214,7 @@ namespace Sample23.Migrations
b.Property<string>("InstanceId")
.HasColumnType("TEXT");
b.Property<string>("Scopes")
b.Property<string>("Scope")
.HasColumnType("TEXT");
b.Property<DateTime?>("StartedAt")