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