| | | 1 | | // <auto-generated /> |
| | | 2 | | using System; |
| | | 3 | | using Elsa.Persistence.EFCore.Modules.Alterations; |
| | | 4 | | using Microsoft.EntityFrameworkCore; |
| | | 5 | | using Microsoft.EntityFrameworkCore.Infrastructure; |
| | | 6 | | using Microsoft.EntityFrameworkCore.Migrations; |
| | | 7 | | using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
| | | 8 | | |
| | | 9 | | #nullable disable |
| | | 10 | | |
| | | 11 | | namespace Elsa.Persistence.EFCore.Sqlite.Migrations.Alterations |
| | | 12 | | { |
| | | 13 | | [DbContext(typeof(AlterationsElsaDbContext))] |
| | | 14 | | [Migration("20241212211547_V3_3")] |
| | | 15 | | partial class V3_3 |
| | | 16 | | { |
| | | 17 | | /// <inheritdoc /> |
| | | 18 | | protected override void BuildTargetModel(ModelBuilder modelBuilder) |
| | | 19 | | { |
| | | 20 | | #pragma warning disable 612, 618 |
| | 0 | 21 | | modelBuilder.HasAnnotation("ProductVersion", "7.0.20"); |
| | | 22 | | |
| | 0 | 23 | | modelBuilder.Entity("Elsa.Alterations.Core.Entities.AlterationJob", b => |
| | 0 | 24 | | { |
| | 0 | 25 | | b.Property<string>("Id") |
| | 0 | 26 | | .HasColumnType("TEXT"); |
| | 0 | 27 | | |
| | 0 | 28 | | b.Property<DateTimeOffset?>("CompletedAt") |
| | 0 | 29 | | .HasColumnType("TEXT"); |
| | 0 | 30 | | |
| | 0 | 31 | | b.Property<DateTimeOffset>("CreatedAt") |
| | 0 | 32 | | .HasColumnType("TEXT"); |
| | 0 | 33 | | |
| | 0 | 34 | | b.Property<string>("PlanId") |
| | 0 | 35 | | .IsRequired() |
| | 0 | 36 | | .HasColumnType("TEXT"); |
| | 0 | 37 | | |
| | 0 | 38 | | b.Property<string>("SerializedLog") |
| | 0 | 39 | | .HasColumnType("TEXT"); |
| | 0 | 40 | | |
| | 0 | 41 | | b.Property<DateTimeOffset?>("StartedAt") |
| | 0 | 42 | | .HasColumnType("TEXT"); |
| | 0 | 43 | | |
| | 0 | 44 | | b.Property<string>("Status") |
| | 0 | 45 | | .IsRequired() |
| | 0 | 46 | | .HasColumnType("TEXT"); |
| | 0 | 47 | | |
| | 0 | 48 | | b.Property<string>("TenantId") |
| | 0 | 49 | | .HasColumnType("TEXT"); |
| | 0 | 50 | | |
| | 0 | 51 | | b.Property<string>("WorkflowInstanceId") |
| | 0 | 52 | | .IsRequired() |
| | 0 | 53 | | .HasColumnType("TEXT"); |
| | 0 | 54 | | |
| | 0 | 55 | | b.HasKey("Id"); |
| | 0 | 56 | | |
| | 0 | 57 | | b.HasIndex("CompletedAt") |
| | 0 | 58 | | .HasDatabaseName("IX_AlterationJob_CompletedAt"); |
| | 0 | 59 | | |
| | 0 | 60 | | b.HasIndex("CreatedAt") |
| | 0 | 61 | | .HasDatabaseName("IX_AlterationJob_CreatedAt"); |
| | 0 | 62 | | |
| | 0 | 63 | | b.HasIndex("PlanId") |
| | 0 | 64 | | .HasDatabaseName("IX_AlterationJob_PlanId"); |
| | 0 | 65 | | |
| | 0 | 66 | | b.HasIndex("StartedAt") |
| | 0 | 67 | | .HasDatabaseName("IX_AlterationJob_StartedAt"); |
| | 0 | 68 | | |
| | 0 | 69 | | b.HasIndex("Status") |
| | 0 | 70 | | .HasDatabaseName("IX_AlterationJob_Status"); |
| | 0 | 71 | | |
| | 0 | 72 | | b.HasIndex("TenantId") |
| | 0 | 73 | | .HasDatabaseName("IX_AlterationJob_TenantId"); |
| | 0 | 74 | | |
| | 0 | 75 | | b.HasIndex("WorkflowInstanceId") |
| | 0 | 76 | | .HasDatabaseName("IX_AlterationJob_WorkflowInstanceId"); |
| | 0 | 77 | | |
| | 0 | 78 | | b.ToTable("AlterationJobs"); |
| | 0 | 79 | | }); |
| | | 80 | | |
| | 0 | 81 | | modelBuilder.Entity("Elsa.Alterations.Core.Entities.AlterationPlan", b => |
| | 0 | 82 | | { |
| | 0 | 83 | | b.Property<string>("Id") |
| | 0 | 84 | | .HasColumnType("TEXT"); |
| | 0 | 85 | | |
| | 0 | 86 | | b.Property<DateTimeOffset?>("CompletedAt") |
| | 0 | 87 | | .HasColumnType("TEXT"); |
| | 0 | 88 | | |
| | 0 | 89 | | b.Property<DateTimeOffset>("CreatedAt") |
| | 0 | 90 | | .HasColumnType("TEXT"); |
| | 0 | 91 | | |
| | 0 | 92 | | b.Property<string>("SerializedAlterations") |
| | 0 | 93 | | .HasColumnType("TEXT"); |
| | 0 | 94 | | |
| | 0 | 95 | | b.Property<string>("SerializedWorkflowInstanceFilter") |
| | 0 | 96 | | .HasColumnType("TEXT"); |
| | 0 | 97 | | |
| | 0 | 98 | | b.Property<DateTimeOffset?>("StartedAt") |
| | 0 | 99 | | .HasColumnType("TEXT"); |
| | 0 | 100 | | |
| | 0 | 101 | | b.Property<string>("Status") |
| | 0 | 102 | | .IsRequired() |
| | 0 | 103 | | .HasColumnType("TEXT"); |
| | 0 | 104 | | |
| | 0 | 105 | | b.Property<string>("TenantId") |
| | 0 | 106 | | .HasColumnType("TEXT"); |
| | 0 | 107 | | |
| | 0 | 108 | | b.HasKey("Id"); |
| | 0 | 109 | | |
| | 0 | 110 | | b.HasIndex("CompletedAt") |
| | 0 | 111 | | .HasDatabaseName("IX_AlterationPlan_CompletedAt"); |
| | 0 | 112 | | |
| | 0 | 113 | | b.HasIndex("CreatedAt") |
| | 0 | 114 | | .HasDatabaseName("IX_AlterationPlan_CreatedAt"); |
| | 0 | 115 | | |
| | 0 | 116 | | b.HasIndex("StartedAt") |
| | 0 | 117 | | .HasDatabaseName("IX_AlterationPlan_StartedAt"); |
| | 0 | 118 | | |
| | 0 | 119 | | b.HasIndex("Status") |
| | 0 | 120 | | .HasDatabaseName("IX_AlterationPlan_Status"); |
| | 0 | 121 | | |
| | 0 | 122 | | b.HasIndex("TenantId") |
| | 0 | 123 | | .HasDatabaseName("IX_AlterationPlan_TenantId"); |
| | 0 | 124 | | |
| | 0 | 125 | | b.ToTable("AlterationPlans"); |
| | 0 | 126 | | }); |
| | | 127 | | #pragma warning restore 612, 618 |
| | 0 | 128 | | } |
| | | 129 | | } |
| | | 130 | | } |