< Summary

Line coverage
0%
Covered lines: 0
Uncovered lines: 100
Coverable lines: 100
Total lines: 149
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
File 1: .ctor(...)100%210%
File 1: Up(...)100%210%
File 1: Down(...)100%210%
File 2: BuildTargetModel(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.EFCore.Sqlite/Migrations/Alterations/20240610184608_V3_2.cs

#LineLine coverage
 1using Microsoft.EntityFrameworkCore.Migrations;
 2
 3#nullable disable
 4
 5namespace Elsa.Persistence.EFCore.Sqlite.Migrations.Alterations
 6{
 7    /// <inheritdoc />
 8    public partial class V3_2 : Migration
 9    {
 10        private readonly IElsaDbContextSchema _schema;
 11
 12        /// <inheritdoc />
 013        public V3_2(IElsaDbContextSchema schema)
 14        {
 015            _schema = schema;
 016        }
 17
 18        /// <inheritdoc />
 19        protected override void Up(MigrationBuilder migrationBuilder)
 20        {
 21
 022        }
 23
 24        /// <inheritdoc />
 25        protected override void Down(MigrationBuilder migrationBuilder)
 26        {
 27
 028        }
 29    }
 30}

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.EFCore.Sqlite/Migrations/Alterations/20240610184608_V3_2.Designer.cs

#LineLine coverage
 1// <auto-generated />
 2using Elsa.Persistence.EFCore.Modules.Alterations;
 3using Microsoft.EntityFrameworkCore;
 4using Microsoft.EntityFrameworkCore.Infrastructure;
 5using Microsoft.EntityFrameworkCore.Migrations;
 6using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 7
 8#nullable disable
 9
 10namespace Elsa.Persistence.EFCore.Sqlite.Migrations.Alterations
 11{
 12    [DbContext(typeof(AlterationsElsaDbContext))]
 13    [Migration("20240610184608_V3_2")]
 14    partial class V3_2
 15    {
 16        /// <inheritdoc />
 17        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 18        {
 19#pragma warning disable 612, 618
 020            modelBuilder.HasAnnotation("ProductVersion", "7.0.20");
 21
 022            modelBuilder.Entity("Elsa.Alterations.Core.Entities.AlterationJob", b =>
 023                {
 024                    b.Property<string>("Id")
 025                        .HasColumnType("TEXT");
 026
 027                    b.Property<string>("CompletedAt")
 028                        .HasColumnType("TEXT");
 029
 030                    b.Property<string>("CreatedAt")
 031                        .IsRequired()
 032                        .HasColumnType("TEXT");
 033
 034                    b.Property<string>("PlanId")
 035                        .IsRequired()
 036                        .HasColumnType("TEXT");
 037
 038                    b.Property<string>("SerializedLog")
 039                        .HasColumnType("TEXT");
 040
 041                    b.Property<string>("StartedAt")
 042                        .HasColumnType("TEXT");
 043
 044                    b.Property<string>("Status")
 045                        .IsRequired()
 046                        .HasColumnType("TEXT");
 047
 048                    b.Property<string>("WorkflowInstanceId")
 049                        .IsRequired()
 050                        .HasColumnType("TEXT");
 051
 052                    b.HasKey("Id");
 053
 054                    b.HasIndex("CompletedAt")
 055                        .HasDatabaseName("IX_AlterationJob_CompletedAt");
 056
 057                    b.HasIndex("CreatedAt")
 058                        .HasDatabaseName("IX_AlterationJob_CreatedAt");
 059
 060                    b.HasIndex("PlanId")
 061                        .HasDatabaseName("IX_AlterationJob_PlanId");
 062
 063                    b.HasIndex("StartedAt")
 064                        .HasDatabaseName("IX_AlterationJob_StartedAt");
 065
 066                    b.HasIndex("Status")
 067                        .HasDatabaseName("IX_AlterationJob_Status");
 068
 069                    b.HasIndex("WorkflowInstanceId")
 070                        .HasDatabaseName("IX_AlterationJob_WorkflowInstanceId");
 071
 072                    b.ToTable("AlterationJobs");
 073                });
 74
 075            modelBuilder.Entity("Elsa.Alterations.Core.Entities.AlterationPlan", b =>
 076                {
 077                    b.Property<string>("Id")
 078                        .HasColumnType("TEXT");
 079
 080                    b.Property<string>("CompletedAt")
 081                        .HasColumnType("TEXT");
 082
 083                    b.Property<string>("CreatedAt")
 084                        .IsRequired()
 085                        .HasColumnType("TEXT");
 086
 087                    b.Property<string>("SerializedAlterations")
 088                        .HasColumnType("TEXT");
 089
 090                    b.Property<string>("SerializedWorkflowInstanceFilter")
 091                        .HasColumnType("TEXT");
 092
 093                    b.Property<string>("StartedAt")
 094                        .HasColumnType("TEXT");
 095
 096                    b.Property<string>("Status")
 097                        .IsRequired()
 098                        .HasColumnType("TEXT");
 099
 0100                    b.HasKey("Id");
 0101
 0102                    b.HasIndex("CompletedAt")
 0103                        .HasDatabaseName("IX_AlterationPlan_CompletedAt");
 0104
 0105                    b.HasIndex("CreatedAt")
 0106                        .HasDatabaseName("IX_AlterationPlan_CreatedAt");
 0107
 0108                    b.HasIndex("StartedAt")
 0109                        .HasDatabaseName("IX_AlterationPlan_StartedAt");
 0110
 0111                    b.HasIndex("Status")
 0112                        .HasDatabaseName("IX_AlterationPlan_Status");
 0113
 0114                    b.ToTable("AlterationPlans");
 0115                });
 116#pragma warning restore 612, 618
 0117        }
 118    }
 119}