< Summary

Information
Class: Elsa.Persistence.EFCore.Sqlite.Migrations.Alterations.AlterationsElsaDbContextModelSnapshot
Assembly: Elsa.Persistence.EFCore.Sqlite
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.EFCore.Sqlite/Migrations/Alterations/AlterationsElsaDbContextModelSnapshot.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 107
Coverable lines: 107
Total lines: 129
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
BuildModel(...)100%210%

File(s)

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

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