| | | 1 | | // <auto-generated /> |
| | | 2 | | using System; |
| | | 3 | | using Microsoft.EntityFrameworkCore; |
| | | 4 | | using Microsoft.EntityFrameworkCore.Infrastructure; |
| | | 5 | | using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
| | | 6 | | using ProjectTemplate.Infrastructure.Data; |
| | | 7 | | |
| | | 8 | | #nullable disable |
| | | 9 | | |
| | | 10 | | namespace ProjectTemplate.Infrastructure.Data.Migrations |
| | | 11 | | { |
| | | 12 | | [DbContext(typeof(ApplicationDbContext))] |
| | | 13 | | partial class ApplicationDbContextModelSnapshot : ModelSnapshot |
| | | 14 | | { |
| | | 15 | | protected override void BuildModel(ModelBuilder modelBuilder) |
| | | 16 | | { |
| | | 17 | | #pragma warning disable 612, 618 |
| | 6 | 18 | | modelBuilder.HasAnnotation("ProductVersion", "10.0.8"); |
| | | 19 | | |
| | 6 | 20 | | modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditCompletionOutboxEntry", b |
| | 6 | 21 | | { |
| | 6 | 22 | | b.Property<Guid>("Id").HasColumnType("TEXT"); |
| | 6 | 23 | | b.Property<int>("AuditRecordCount").HasColumnType("INTEGER"); |
| | 6 | 24 | | b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT |
| | 6 | 25 | | b.Property<string>("CorrelationId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 26 | | b.Property<DateTime>("CreatedUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 27 | | b.Property<string>("DecisionAuditRecordId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 28 | | b.Property<DateTime?>("DeliveredUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 29 | | b.Property<string>("Destination").IsRequired().HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 30 | | b.Property<string>("ExecutionAttemptId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 31 | | b.Property<string>("IdempotencyKey").IsRequired().HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 32 | | b.Property<DateTime?>("LastAttemptUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 33 | | b.Property<string>("LastErrorCode").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 34 | | b.Property<string>("LastErrorMessage").HasMaxLength(512).HasColumnType("TEXT"); |
| | 6 | 35 | | b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 36 | | b.Property<string>("MutationManifestAlgorithm").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 37 | | b.Property<string>("MutationManifestHash").IsRequired().HasMaxLength(256).HasColumnType("TEXT"); |
| | 6 | 38 | | b.Property<string>("MutationManifestSchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEX |
| | 6 | 39 | | b.Property<DateTime?>("NextAttemptUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 40 | | b.Property<string>("OperationExecutionId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 41 | | b.Property<string>("PersistenceOutcome").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 42 | | b.Property<DateTime>("ReceiptCompletedUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 43 | | b.Property<int>("RetryCount").HasColumnType("INTEGER"); |
| | 6 | 44 | | b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT"); |
| | 6 | 45 | | b.Property<string>("Status").IsRequired().HasMaxLength(32).HasColumnType("TEXT"); |
| | 6 | 46 | | b.Property<string>("TraceId").HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 47 | | b.HasKey("Id"); |
| | 6 | 48 | | b.HasIndex("CreatedUtc"); |
| | 6 | 49 | | b.HasIndex("IdempotencyKey").IsUnique(); |
| | 6 | 50 | | b.HasIndex("Destination", "MutationBatchId").IsUnique(); |
| | 6 | 51 | | b.HasIndex("Status", "NextAttemptUtc"); |
| | 6 | 52 | | b.ToTable("ApplicationAuditCompletionOutbox", (string)null); |
| | 12 | 53 | | }); |
| | | 54 | | |
| | 6 | 55 | | modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditReconciliationFinding", b |
| | 6 | 56 | | { |
| | 6 | 57 | | b.Property<Guid>("Id").HasColumnType("TEXT"); |
| | 6 | 58 | | b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT |
| | 6 | 59 | | b.Property<string>("Destination").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 60 | | b.Property<string>("FindingKey").IsRequired().HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 61 | | b.Property<DateTime>("FirstObservedUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 62 | | b.Property<string>("Guidance").IsRequired().HasMaxLength(512).HasColumnType("TEXT"); |
| | 6 | 63 | | b.Property<DateTime>("LastObservedUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 64 | | b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 65 | | b.Property<string>("ReasonCode").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 66 | | b.Property<string>("RemediationStatus").IsRequired().HasMaxLength(32).HasColumnType("TEXT"); |
| | 6 | 67 | | b.Property<DateTime?>("ResolvedUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 68 | | b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT"); |
| | 6 | 69 | | b.Property<string>("Severity").IsRequired().HasMaxLength(32).HasColumnType("TEXT"); |
| | 6 | 70 | | b.HasKey("Id"); |
| | 6 | 71 | | b.HasIndex("FindingKey").IsUnique(); |
| | 6 | 72 | | b.HasIndex("MutationBatchId", "ReasonCode"); |
| | 6 | 73 | | b.HasIndex("RemediationStatus", "Severity"); |
| | 6 | 74 | | b.ToTable("ApplicationAuditReconciliationFindings", (string)null); |
| | 12 | 75 | | }); |
| | | 76 | | |
| | 6 | 77 | | modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ApplicationAuditReconciliationRemediation" |
| | 6 | 78 | | { |
| | 6 | 79 | | b.Property<Guid>("Id").HasColumnType("TEXT"); |
| | 6 | 80 | | b.Property<string>("ActionCode").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 81 | | b.Property<string>("ActorId").IsRequired().HasMaxLength(256).HasColumnType("TEXT"); |
| | 6 | 82 | | b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT |
| | 6 | 83 | | b.Property<string>("EvidenceReference").HasMaxLength(256).HasColumnType("TEXT"); |
| | 6 | 84 | | b.Property<Guid>("FindingId").HasColumnType("TEXT"); |
| | 6 | 85 | | b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 86 | | b.Property<DateTime>("RecordedUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 87 | | b.HasKey("Id"); |
| | 6 | 88 | | b.HasIndex("FindingId"); |
| | 6 | 89 | | b.HasIndex("MutationBatchId"); |
| | 6 | 90 | | b.ToTable("ApplicationAuditReconciliationRemediations", (string)null); |
| | 12 | 91 | | }); |
| | | 92 | | |
| | 6 | 93 | | modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.AuditRecord", b => |
| | 6 | 94 | | { |
| | 6 | 95 | | b.Property<Guid>("Id").HasColumnType("TEXT"); |
| | 6 | 96 | | b.Property<string>("ActorId").IsRequired().HasMaxLength(256).HasColumnType("TEXT"); |
| | 6 | 97 | | b.Property<string>("ActorType").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 98 | | b.Property<string>("Application").IsRequired().HasMaxLength(200).HasColumnType("TEXT"); |
| | 6 | 99 | | b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT |
| | 6 | 100 | | b.Property<string>("CorrelationId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 101 | | b.Property<string>("CurrentValues").IsRequired().HasColumnType("TEXT"); |
| | 6 | 102 | | b.Property<string>("DecisionAuditRecordId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 103 | | b.Property<string>("Entity").IsRequired().HasMaxLength(200).HasColumnType("TEXT"); |
| | 6 | 104 | | b.Property<string>("ExecutionAttemptId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 105 | | b.Property<string>("KeyValues").IsRequired().HasColumnType("TEXT"); |
| | 6 | 106 | | b.Property<string>("ModifiedBy").IsRequired().HasMaxLength(200).HasColumnType("TEXT"); |
| | 6 | 107 | | b.Property<DateTime>("ModifiedOnUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 108 | | b.Property<string>("MutationBatchId").IsRequired().HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 109 | | b.Property<string>("OperationExecutionId").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 110 | | b.Property<string>("OrganizationHash").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 111 | | b.Property<string>("OriginalValues").IsRequired().HasColumnType("TEXT"); |
| | 6 | 112 | | b.Property<string>("SchemaVersion").IsRequired().HasMaxLength(32).HasColumnType("TEXT"); |
| | 6 | 113 | | b.Property<string>("SpanId").HasMaxLength(32).HasColumnType("TEXT"); |
| | 6 | 114 | | b.Property<string>("State").IsRequired().HasMaxLength(100).HasColumnType("TEXT"); |
| | 6 | 115 | | b.Property<string>("TenantHash").HasMaxLength(128).HasColumnType("TEXT"); |
| | 6 | 116 | | b.Property<string>("TraceId").HasMaxLength(64).HasColumnType("TEXT"); |
| | 6 | 117 | | b.HasKey("Id"); |
| | 6 | 118 | | b.HasIndex("CorrelationId"); |
| | 6 | 119 | | b.HasIndex("DecisionAuditRecordId"); |
| | 6 | 120 | | b.HasIndex("MutationBatchId"); |
| | 6 | 121 | | b.HasIndex("OperationExecutionId"); |
| | 6 | 122 | | b.ToTable("AuditRecords", (string)null); |
| | 12 | 123 | | }); |
| | | 124 | | |
| | 6 | 125 | | modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ExternalLoginAccount", b => |
| | 6 | 126 | | { |
| | 6 | 127 | | b.Property<Guid>("Id").HasColumnType("TEXT"); |
| | 6 | 128 | | b.Property<string>("ConcurrencyStamp").IsConcurrencyToken().IsRequired().HasMaxLength(64).HasColumnT |
| | 6 | 129 | | b.Property<DateTime>("CreatedOnUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 130 | | b.Property<string>("DisplayName").HasMaxLength(200).HasColumnType("TEXT"); |
| | 6 | 131 | | b.Property<string>("Email").HasMaxLength(320).HasColumnType("TEXT"); |
| | 6 | 132 | | b.Property<DateTime?>("LastLoginOnUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 133 | | b.Property<Guid>("LocalUserId").HasColumnType("TEXT"); |
| | 6 | 134 | | b.Property<string>("NormalizedEmail").HasMaxLength(320).HasColumnType("TEXT"); |
| | 6 | 135 | | b.Property<string>("NormalizedProviderName").IsRequired().HasMaxLength(100).HasColumnType("TEXT"); |
| | 6 | 136 | | b.Property<string>("ProviderName").IsRequired().HasMaxLength(100).HasColumnType("TEXT"); |
| | 6 | 137 | | b.Property<string>("ProviderUserId").IsRequired().HasMaxLength(256).HasColumnType("TEXT"); |
| | 6 | 138 | | b.Property<DateTime?>("UpdatedOnUtc").HasPrecision(3).HasColumnType("TEXT"); |
| | 6 | 139 | | b.HasKey("Id"); |
| | 6 | 140 | | b.HasIndex("Email"); |
| | 6 | 141 | | b.HasIndex("LocalUserId"); |
| | 6 | 142 | | b.HasIndex("NormalizedEmail"); |
| | 6 | 143 | | b.HasIndex("NormalizedProviderName", "ProviderUserId").IsUnique(); |
| | 6 | 144 | | b.ToTable("ExternalLoginAccounts", (string)null); |
| | 12 | 145 | | }); |
| | | 146 | | #pragma warning restore 612, 618 |
| | 6 | 147 | | } |
| | | 148 | | } |
| | | 149 | | } |