| | | 1 | | // <auto-generated /> |
| | | 2 | | using System; |
| | | 3 | | using Elsa.Persistence.EFCore.Modules.Runtime; |
| | | 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.Runtime |
| | | 12 | | { |
| | | 13 | | [DbContext(typeof(RuntimeElsaDbContext))] |
| | | 14 | | [Migration("20250530104854_V3_5")] |
| | | 15 | | partial class V3_5 |
| | | 16 | | { |
| | | 17 | | /// <inheritdoc /> |
| | | 18 | | protected override void BuildTargetModel(ModelBuilder modelBuilder) |
| | | 19 | | { |
| | | 20 | | #pragma warning disable 612, 618 |
| | 0 | 21 | | modelBuilder |
| | 0 | 22 | | .HasDefaultSchema("Elsa") |
| | 0 | 23 | | .HasAnnotation("ProductVersion", "9.0.5"); |
| | | 24 | | |
| | 0 | 25 | | modelBuilder.Entity("Elsa.KeyValues.Entities.SerializedKeyValuePair", b => |
| | 0 | 26 | | { |
| | 0 | 27 | | b.Property<string>("Id") |
| | 0 | 28 | | .HasColumnType("TEXT"); |
| | 0 | 29 | | |
| | 0 | 30 | | b.Property<string>("SerializedValue") |
| | 0 | 31 | | .IsRequired() |
| | 0 | 32 | | .HasColumnType("TEXT"); |
| | 0 | 33 | | |
| | 0 | 34 | | b.Property<string>("TenantId") |
| | 0 | 35 | | .HasColumnType("TEXT"); |
| | 0 | 36 | | |
| | 0 | 37 | | b.HasKey("Id"); |
| | 0 | 38 | | |
| | 0 | 39 | | b.HasIndex(new[] { "TenantId" }, "IX_SerializedKeyValuePair_TenantId"); |
| | 0 | 40 | | |
| | 0 | 41 | | b.ToTable("KeyValuePairs", "Elsa"); |
| | 0 | 42 | | }); |
| | | 43 | | |
| | 0 | 44 | | modelBuilder.Entity("Elsa.Workflows.Runtime.Entities.ActivityExecutionRecord", b => |
| | 0 | 45 | | { |
| | 0 | 46 | | b.Property<string>("Id") |
| | 0 | 47 | | .HasColumnType("TEXT"); |
| | 0 | 48 | | |
| | 0 | 49 | | b.Property<string>("ActivityId") |
| | 0 | 50 | | .IsRequired() |
| | 0 | 51 | | .HasColumnType("TEXT"); |
| | 0 | 52 | | |
| | 0 | 53 | | b.Property<string>("ActivityName") |
| | 0 | 54 | | .HasColumnType("TEXT"); |
| | 0 | 55 | | |
| | 0 | 56 | | b.Property<string>("ActivityNodeId") |
| | 0 | 57 | | .IsRequired() |
| | 0 | 58 | | .HasColumnType("TEXT"); |
| | 0 | 59 | | |
| | 0 | 60 | | b.Property<string>("ActivityType") |
| | 0 | 61 | | .IsRequired() |
| | 0 | 62 | | .HasColumnType("TEXT"); |
| | 0 | 63 | | |
| | 0 | 64 | | b.Property<int>("ActivityTypeVersion") |
| | 0 | 65 | | .HasColumnType("INTEGER"); |
| | 0 | 66 | | |
| | 0 | 67 | | b.Property<int>("AggregateFaultCount") |
| | 0 | 68 | | .HasColumnType("INTEGER"); |
| | 0 | 69 | | |
| | 0 | 70 | | b.Property<DateTimeOffset?>("CompletedAt") |
| | 0 | 71 | | .HasColumnType("TEXT"); |
| | 0 | 72 | | |
| | 0 | 73 | | b.Property<bool>("HasBookmarks") |
| | 0 | 74 | | .HasColumnType("INTEGER"); |
| | 0 | 75 | | |
| | 0 | 76 | | b.Property<string>("SerializedActivityState") |
| | 0 | 77 | | .HasColumnType("TEXT"); |
| | 0 | 78 | | |
| | 0 | 79 | | b.Property<string>("SerializedActivityStateCompressionAlgorithm") |
| | 0 | 80 | | .HasColumnType("TEXT"); |
| | 0 | 81 | | |
| | 0 | 82 | | b.Property<string>("SerializedException") |
| | 0 | 83 | | .HasColumnType("TEXT"); |
| | 0 | 84 | | |
| | 0 | 85 | | b.Property<string>("SerializedMetadata") |
| | 0 | 86 | | .HasColumnType("TEXT"); |
| | 0 | 87 | | |
| | 0 | 88 | | b.Property<string>("SerializedOutputs") |
| | 0 | 89 | | .HasColumnType("TEXT"); |
| | 0 | 90 | | |
| | 0 | 91 | | b.Property<string>("SerializedPayload") |
| | 0 | 92 | | .HasColumnType("TEXT"); |
| | 0 | 93 | | |
| | 0 | 94 | | b.Property<string>("SerializedProperties") |
| | 0 | 95 | | .HasColumnType("TEXT"); |
| | 0 | 96 | | |
| | 0 | 97 | | b.Property<DateTimeOffset>("StartedAt") |
| | 0 | 98 | | .HasColumnType("TEXT"); |
| | 0 | 99 | | |
| | 0 | 100 | | b.Property<string>("Status") |
| | 0 | 101 | | .IsRequired() |
| | 0 | 102 | | .HasColumnType("TEXT"); |
| | 0 | 103 | | |
| | 0 | 104 | | b.Property<string>("TenantId") |
| | 0 | 105 | | .HasColumnType("TEXT"); |
| | 0 | 106 | | |
| | 0 | 107 | | b.Property<string>("WorkflowInstanceId") |
| | 0 | 108 | | .IsRequired() |
| | 0 | 109 | | .HasColumnType("TEXT"); |
| | 0 | 110 | | |
| | 0 | 111 | | b.HasKey("Id"); |
| | 0 | 112 | | |
| | 0 | 113 | | b.HasIndex("ActivityId") |
| | 0 | 114 | | .HasDatabaseName("IX_ActivityExecutionRecord_ActivityId"); |
| | 0 | 115 | | |
| | 0 | 116 | | b.HasIndex("ActivityName") |
| | 0 | 117 | | .HasDatabaseName("IX_ActivityExecutionRecord_ActivityName"); |
| | 0 | 118 | | |
| | 0 | 119 | | b.HasIndex("ActivityNodeId") |
| | 0 | 120 | | .HasDatabaseName("IX_ActivityExecutionRecord_ActivityNodeId"); |
| | 0 | 121 | | |
| | 0 | 122 | | b.HasIndex("ActivityType") |
| | 0 | 123 | | .HasDatabaseName("IX_ActivityExecutionRecord_ActivityType"); |
| | 0 | 124 | | |
| | 0 | 125 | | b.HasIndex("ActivityTypeVersion") |
| | 0 | 126 | | .HasDatabaseName("IX_ActivityExecutionRecord_ActivityTypeVersion"); |
| | 0 | 127 | | |
| | 0 | 128 | | b.HasIndex("CompletedAt") |
| | 0 | 129 | | .HasDatabaseName("IX_ActivityExecutionRecord_CompletedAt"); |
| | 0 | 130 | | |
| | 0 | 131 | | b.HasIndex("HasBookmarks") |
| | 0 | 132 | | .HasDatabaseName("IX_ActivityExecutionRecord_HasBookmarks"); |
| | 0 | 133 | | |
| | 0 | 134 | | b.HasIndex("StartedAt") |
| | 0 | 135 | | .HasDatabaseName("IX_ActivityExecutionRecord_StartedAt"); |
| | 0 | 136 | | |
| | 0 | 137 | | b.HasIndex("Status") |
| | 0 | 138 | | .HasDatabaseName("IX_ActivityExecutionRecord_Status"); |
| | 0 | 139 | | |
| | 0 | 140 | | b.HasIndex("TenantId") |
| | 0 | 141 | | .HasDatabaseName("IX_ActivityExecutionRecord_TenantId"); |
| | 0 | 142 | | |
| | 0 | 143 | | b.HasIndex("WorkflowInstanceId") |
| | 0 | 144 | | .HasDatabaseName("IX_ActivityExecutionRecord_WorkflowInstanceId"); |
| | 0 | 145 | | |
| | 0 | 146 | | b.HasIndex("ActivityType", "ActivityTypeVersion") |
| | 0 | 147 | | .HasDatabaseName("IX_ActivityExecutionRecord_ActivityType_ActivityTypeVersion"); |
| | 0 | 148 | | |
| | 0 | 149 | | b.ToTable("ActivityExecutionRecords", "Elsa"); |
| | 0 | 150 | | }); |
| | | 151 | | |
| | 0 | 152 | | modelBuilder.Entity("Elsa.Workflows.Runtime.Entities.BookmarkQueueItem", b => |
| | 0 | 153 | | { |
| | 0 | 154 | | b.Property<string>("Id") |
| | 0 | 155 | | .HasColumnType("TEXT"); |
| | 0 | 156 | | |
| | 0 | 157 | | b.Property<string>("ActivityInstanceId") |
| | 0 | 158 | | .HasColumnType("TEXT"); |
| | 0 | 159 | | |
| | 0 | 160 | | b.Property<string>("ActivityTypeName") |
| | 0 | 161 | | .HasColumnType("TEXT"); |
| | 0 | 162 | | |
| | 0 | 163 | | b.Property<string>("BookmarkId") |
| | 0 | 164 | | .HasColumnType("TEXT"); |
| | 0 | 165 | | |
| | 0 | 166 | | b.Property<string>("CorrelationId") |
| | 0 | 167 | | .HasColumnType("TEXT"); |
| | 0 | 168 | | |
| | 0 | 169 | | b.Property<DateTimeOffset>("CreatedAt") |
| | 0 | 170 | | .HasColumnType("TEXT"); |
| | 0 | 171 | | |
| | 0 | 172 | | b.Property<string>("SerializedOptions") |
| | 0 | 173 | | .HasColumnType("TEXT"); |
| | 0 | 174 | | |
| | 0 | 175 | | b.Property<string>("StimulusHash") |
| | 0 | 176 | | .HasColumnType("TEXT"); |
| | 0 | 177 | | |
| | 0 | 178 | | b.Property<string>("TenantId") |
| | 0 | 179 | | .HasColumnType("TEXT"); |
| | 0 | 180 | | |
| | 0 | 181 | | b.Property<string>("WorkflowInstanceId") |
| | 0 | 182 | | .HasColumnType("TEXT"); |
| | 0 | 183 | | |
| | 0 | 184 | | b.HasKey("Id"); |
| | 0 | 185 | | |
| | 0 | 186 | | b.HasIndex(new[] { "ActivityInstanceId" }, "IX_BookmarkQueueItem_ActivityInstanceId"); |
| | 0 | 187 | | |
| | 0 | 188 | | b.HasIndex(new[] { "ActivityTypeName" }, "IX_BookmarkQueueItem_ActivityTypeName"); |
| | 0 | 189 | | |
| | 0 | 190 | | b.HasIndex(new[] { "BookmarkId" }, "IX_BookmarkQueueItem_BookmarkId"); |
| | 0 | 191 | | |
| | 0 | 192 | | b.HasIndex(new[] { "CorrelationId" }, "IX_BookmarkQueueItem_CorrelationId"); |
| | 0 | 193 | | |
| | 0 | 194 | | b.HasIndex(new[] { "CreatedAt" }, "IX_BookmarkQueueItem_CreatedAt"); |
| | 0 | 195 | | |
| | 0 | 196 | | b.HasIndex(new[] { "StimulusHash" }, "IX_BookmarkQueueItem_StimulusHash"); |
| | 0 | 197 | | |
| | 0 | 198 | | b.HasIndex(new[] { "TenantId" }, "IX_BookmarkQueueItem_TenantId"); |
| | 0 | 199 | | |
| | 0 | 200 | | b.HasIndex(new[] { "WorkflowInstanceId" }, "IX_BookmarkQueueItem_WorkflowInstanceId"); |
| | 0 | 201 | | |
| | 0 | 202 | | b.ToTable("BookmarkQueueItems", "Elsa"); |
| | 0 | 203 | | }); |
| | | 204 | | |
| | 0 | 205 | | modelBuilder.Entity("Elsa.Workflows.Runtime.Entities.StoredBookmark", b => |
| | 0 | 206 | | { |
| | 0 | 207 | | b.Property<string>("Id") |
| | 0 | 208 | | .HasColumnType("TEXT"); |
| | 0 | 209 | | |
| | 0 | 210 | | b.Property<string>("ActivityInstanceId") |
| | 0 | 211 | | .HasColumnType("TEXT"); |
| | 0 | 212 | | |
| | 0 | 213 | | b.Property<string>("ActivityTypeName") |
| | 0 | 214 | | .IsRequired() |
| | 0 | 215 | | .HasColumnType("TEXT"); |
| | 0 | 216 | | |
| | 0 | 217 | | b.Property<string>("CorrelationId") |
| | 0 | 218 | | .HasColumnType("TEXT"); |
| | 0 | 219 | | |
| | 0 | 220 | | b.Property<DateTimeOffset>("CreatedAt") |
| | 0 | 221 | | .HasColumnType("TEXT"); |
| | 0 | 222 | | |
| | 0 | 223 | | b.Property<string>("Hash") |
| | 0 | 224 | | .IsRequired() |
| | 0 | 225 | | .HasColumnType("TEXT"); |
| | 0 | 226 | | |
| | 0 | 227 | | b.Property<string>("Name") |
| | 0 | 228 | | .HasColumnType("TEXT"); |
| | 0 | 229 | | |
| | 0 | 230 | | b.Property<string>("SerializedMetadata") |
| | 0 | 231 | | .HasColumnType("TEXT"); |
| | 0 | 232 | | |
| | 0 | 233 | | b.Property<string>("SerializedPayload") |
| | 0 | 234 | | .HasColumnType("TEXT"); |
| | 0 | 235 | | |
| | 0 | 236 | | b.Property<string>("TenantId") |
| | 0 | 237 | | .HasColumnType("TEXT"); |
| | 0 | 238 | | |
| | 0 | 239 | | b.Property<string>("WorkflowInstanceId") |
| | 0 | 240 | | .IsRequired() |
| | 0 | 241 | | .HasColumnType("TEXT"); |
| | 0 | 242 | | |
| | 0 | 243 | | b.HasKey("Id"); |
| | 0 | 244 | | |
| | 0 | 245 | | b.HasIndex(new[] { "ActivityInstanceId" }, "IX_StoredBookmark_ActivityInstanceId"); |
| | 0 | 246 | | |
| | 0 | 247 | | b.HasIndex(new[] { "ActivityTypeName" }, "IX_StoredBookmark_ActivityTypeName"); |
| | 0 | 248 | | |
| | 0 | 249 | | b.HasIndex(new[] { "ActivityTypeName", "Hash" }, "IX_StoredBookmark_ActivityTypeName_Hash"); |
| | 0 | 250 | | |
| | 0 | 251 | | b.HasIndex(new[] { "ActivityTypeName", "Hash", "WorkflowInstanceId" }, "IX_StoredBookmark_ActivityTy |
| | 0 | 252 | | |
| | 0 | 253 | | b.HasIndex(new[] { "CreatedAt" }, "IX_StoredBookmark_CreatedAt"); |
| | 0 | 254 | | |
| | 0 | 255 | | b.HasIndex(new[] { "Hash" }, "IX_StoredBookmark_Hash"); |
| | 0 | 256 | | |
| | 0 | 257 | | b.HasIndex(new[] { "Name" }, "IX_StoredBookmark_Name"); |
| | 0 | 258 | | |
| | 0 | 259 | | b.HasIndex(new[] { "Name", "Hash" }, "IX_StoredBookmark_Name_Hash"); |
| | 0 | 260 | | |
| | 0 | 261 | | b.HasIndex(new[] { "Name", "Hash", "WorkflowInstanceId" }, "IX_StoredBookmark_Name_Hash_WorkflowInst |
| | 0 | 262 | | |
| | 0 | 263 | | b.HasIndex(new[] { "TenantId" }, "IX_StoredBookmark_TenantId"); |
| | 0 | 264 | | |
| | 0 | 265 | | b.HasIndex(new[] { "WorkflowInstanceId" }, "IX_StoredBookmark_WorkflowInstanceId"); |
| | 0 | 266 | | |
| | 0 | 267 | | b.ToTable("Bookmarks", "Elsa"); |
| | 0 | 268 | | }); |
| | | 269 | | |
| | 0 | 270 | | modelBuilder.Entity("Elsa.Workflows.Runtime.Entities.StoredTrigger", b => |
| | 0 | 271 | | { |
| | 0 | 272 | | b.Property<string>("Id") |
| | 0 | 273 | | .HasColumnType("TEXT"); |
| | 0 | 274 | | |
| | 0 | 275 | | b.Property<string>("ActivityId") |
| | 0 | 276 | | .IsRequired() |
| | 0 | 277 | | .HasColumnType("TEXT"); |
| | 0 | 278 | | |
| | 0 | 279 | | b.Property<string>("Hash") |
| | 0 | 280 | | .HasColumnType("TEXT"); |
| | 0 | 281 | | |
| | 0 | 282 | | b.Property<string>("Name") |
| | 0 | 283 | | .HasColumnType("TEXT"); |
| | 0 | 284 | | |
| | 0 | 285 | | b.Property<string>("SerializedPayload") |
| | 0 | 286 | | .HasColumnType("TEXT"); |
| | 0 | 287 | | |
| | 0 | 288 | | b.Property<string>("TenantId") |
| | 0 | 289 | | .HasColumnType("TEXT"); |
| | 0 | 290 | | |
| | 0 | 291 | | b.Property<string>("WorkflowDefinitionId") |
| | 0 | 292 | | .IsRequired() |
| | 0 | 293 | | .HasColumnType("TEXT"); |
| | 0 | 294 | | |
| | 0 | 295 | | b.Property<string>("WorkflowDefinitionVersionId") |
| | 0 | 296 | | .IsRequired() |
| | 0 | 297 | | .HasColumnType("TEXT"); |
| | 0 | 298 | | |
| | 0 | 299 | | b.HasKey("Id"); |
| | 0 | 300 | | |
| | 0 | 301 | | b.HasIndex("Hash") |
| | 0 | 302 | | .HasDatabaseName("IX_StoredTrigger_Hash"); |
| | 0 | 303 | | |
| | 0 | 304 | | b.HasIndex("Name") |
| | 0 | 305 | | .HasDatabaseName("IX_StoredTrigger_Name"); |
| | 0 | 306 | | |
| | 0 | 307 | | b.HasIndex("TenantId") |
| | 0 | 308 | | .HasDatabaseName("IX_StoredTrigger_TenantId"); |
| | 0 | 309 | | |
| | 0 | 310 | | b.HasIndex("WorkflowDefinitionId") |
| | 0 | 311 | | .HasDatabaseName("IX_StoredTrigger_WorkflowDefinitionId"); |
| | 0 | 312 | | |
| | 0 | 313 | | b.HasIndex("WorkflowDefinitionVersionId") |
| | 0 | 314 | | .HasDatabaseName("IX_StoredTrigger_WorkflowDefinitionVersionId"); |
| | 0 | 315 | | |
| | 0 | 316 | | b.ToTable("Triggers", "Elsa"); |
| | 0 | 317 | | }); |
| | | 318 | | |
| | 0 | 319 | | modelBuilder.Entity("Elsa.Workflows.Runtime.Entities.WorkflowExecutionLogRecord", b => |
| | 0 | 320 | | { |
| | 0 | 321 | | b.Property<string>("Id") |
| | 0 | 322 | | .HasColumnType("TEXT"); |
| | 0 | 323 | | |
| | 0 | 324 | | b.Property<string>("ActivityId") |
| | 0 | 325 | | .IsRequired() |
| | 0 | 326 | | .HasColumnType("TEXT"); |
| | 0 | 327 | | |
| | 0 | 328 | | b.Property<string>("ActivityInstanceId") |
| | 0 | 329 | | .IsRequired() |
| | 0 | 330 | | .HasColumnType("TEXT"); |
| | 0 | 331 | | |
| | 0 | 332 | | b.Property<string>("ActivityName") |
| | 0 | 333 | | .HasColumnType("TEXT"); |
| | 0 | 334 | | |
| | 0 | 335 | | b.Property<string>("ActivityNodeId") |
| | 0 | 336 | | .IsRequired() |
| | 0 | 337 | | .HasColumnType("TEXT"); |
| | 0 | 338 | | |
| | 0 | 339 | | b.Property<string>("ActivityType") |
| | 0 | 340 | | .IsRequired() |
| | 0 | 341 | | .HasColumnType("TEXT"); |
| | 0 | 342 | | |
| | 0 | 343 | | b.Property<int>("ActivityTypeVersion") |
| | 0 | 344 | | .HasColumnType("INTEGER"); |
| | 0 | 345 | | |
| | 0 | 346 | | b.Property<string>("EventName") |
| | 0 | 347 | | .HasColumnType("TEXT"); |
| | 0 | 348 | | |
| | 0 | 349 | | b.Property<string>("Message") |
| | 0 | 350 | | .HasColumnType("TEXT"); |
| | 0 | 351 | | |
| | 0 | 352 | | b.Property<string>("ParentActivityInstanceId") |
| | 0 | 353 | | .HasColumnType("TEXT"); |
| | 0 | 354 | | |
| | 0 | 355 | | b.Property<long>("Sequence") |
| | 0 | 356 | | .HasColumnType("INTEGER"); |
| | 0 | 357 | | |
| | 0 | 358 | | b.Property<string>("SerializedActivityState") |
| | 0 | 359 | | .HasColumnType("TEXT"); |
| | 0 | 360 | | |
| | 0 | 361 | | b.Property<string>("SerializedPayload") |
| | 0 | 362 | | .HasColumnType("TEXT"); |
| | 0 | 363 | | |
| | 0 | 364 | | b.Property<string>("Source") |
| | 0 | 365 | | .HasColumnType("TEXT"); |
| | 0 | 366 | | |
| | 0 | 367 | | b.Property<string>("TenantId") |
| | 0 | 368 | | .HasColumnType("TEXT"); |
| | 0 | 369 | | |
| | 0 | 370 | | b.Property<DateTimeOffset>("Timestamp") |
| | 0 | 371 | | .HasColumnType("TEXT"); |
| | 0 | 372 | | |
| | 0 | 373 | | b.Property<string>("WorkflowDefinitionId") |
| | 0 | 374 | | .IsRequired() |
| | 0 | 375 | | .HasColumnType("TEXT"); |
| | 0 | 376 | | |
| | 0 | 377 | | b.Property<string>("WorkflowDefinitionVersionId") |
| | 0 | 378 | | .IsRequired() |
| | 0 | 379 | | .HasColumnType("TEXT"); |
| | 0 | 380 | | |
| | 0 | 381 | | b.Property<string>("WorkflowInstanceId") |
| | 0 | 382 | | .IsRequired() |
| | 0 | 383 | | .HasColumnType("TEXT"); |
| | 0 | 384 | | |
| | 0 | 385 | | b.Property<int>("WorkflowVersion") |
| | 0 | 386 | | .HasColumnType("INTEGER"); |
| | 0 | 387 | | |
| | 0 | 388 | | b.HasKey("Id"); |
| | 0 | 389 | | |
| | 0 | 390 | | b.HasIndex("ActivityId") |
| | 0 | 391 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ActivityId"); |
| | 0 | 392 | | |
| | 0 | 393 | | b.HasIndex("ActivityInstanceId") |
| | 0 | 394 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ActivityInstanceId"); |
| | 0 | 395 | | |
| | 0 | 396 | | b.HasIndex("ActivityName") |
| | 0 | 397 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ActivityName"); |
| | 0 | 398 | | |
| | 0 | 399 | | b.HasIndex("ActivityNodeId") |
| | 0 | 400 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ActivityNodeId"); |
| | 0 | 401 | | |
| | 0 | 402 | | b.HasIndex("ActivityType") |
| | 0 | 403 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ActivityType"); |
| | 0 | 404 | | |
| | 0 | 405 | | b.HasIndex("ActivityTypeVersion") |
| | 0 | 406 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ActivityTypeVersion"); |
| | 0 | 407 | | |
| | 0 | 408 | | b.HasIndex("EventName") |
| | 0 | 409 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_EventName"); |
| | 0 | 410 | | |
| | 0 | 411 | | b.HasIndex("ParentActivityInstanceId") |
| | 0 | 412 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ParentActivityInstanceId"); |
| | 0 | 413 | | |
| | 0 | 414 | | b.HasIndex("Sequence") |
| | 0 | 415 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_Sequence"); |
| | 0 | 416 | | |
| | 0 | 417 | | b.HasIndex("TenantId") |
| | 0 | 418 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_TenantId"); |
| | 0 | 419 | | |
| | 0 | 420 | | b.HasIndex("Timestamp") |
| | 0 | 421 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_Timestamp"); |
| | 0 | 422 | | |
| | 0 | 423 | | b.HasIndex("WorkflowDefinitionId") |
| | 0 | 424 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_WorkflowDefinitionId"); |
| | 0 | 425 | | |
| | 0 | 426 | | b.HasIndex("WorkflowDefinitionVersionId") |
| | 0 | 427 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_WorkflowDefinitionVersionId"); |
| | 0 | 428 | | |
| | 0 | 429 | | b.HasIndex("WorkflowInstanceId") |
| | 0 | 430 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_WorkflowInstanceId"); |
| | 0 | 431 | | |
| | 0 | 432 | | b.HasIndex("WorkflowVersion") |
| | 0 | 433 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_WorkflowVersion"); |
| | 0 | 434 | | |
| | 0 | 435 | | b.HasIndex("ActivityType", "ActivityTypeVersion") |
| | 0 | 436 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_ActivityType_ActivityTypeVersion"); |
| | 0 | 437 | | |
| | 0 | 438 | | b.HasIndex("Timestamp", "Sequence") |
| | 0 | 439 | | .HasDatabaseName("IX_WorkflowExecutionLogRecord_Timestamp_Sequence"); |
| | 0 | 440 | | |
| | 0 | 441 | | b.ToTable("WorkflowExecutionLogRecords", "Elsa"); |
| | 0 | 442 | | }); |
| | | 443 | | |
| | 0 | 444 | | modelBuilder.Entity("Elsa.Workflows.Runtime.Entities.WorkflowInboxMessage", b => |
| | 0 | 445 | | { |
| | 0 | 446 | | b.Property<string>("Id") |
| | 0 | 447 | | .HasColumnType("TEXT"); |
| | 0 | 448 | | |
| | 0 | 449 | | b.Property<string>("ActivityInstanceId") |
| | 0 | 450 | | .HasColumnType("TEXT"); |
| | 0 | 451 | | |
| | 0 | 452 | | b.Property<string>("ActivityTypeName") |
| | 0 | 453 | | .IsRequired() |
| | 0 | 454 | | .HasColumnType("TEXT"); |
| | 0 | 455 | | |
| | 0 | 456 | | b.Property<string>("CorrelationId") |
| | 0 | 457 | | .HasColumnType("TEXT"); |
| | 0 | 458 | | |
| | 0 | 459 | | b.Property<DateTimeOffset>("CreatedAt") |
| | 0 | 460 | | .HasColumnType("TEXT"); |
| | 0 | 461 | | |
| | 0 | 462 | | b.Property<DateTimeOffset>("ExpiresAt") |
| | 0 | 463 | | .HasColumnType("TEXT"); |
| | 0 | 464 | | |
| | 0 | 465 | | b.Property<string>("Hash") |
| | 0 | 466 | | .IsRequired() |
| | 0 | 467 | | .HasColumnType("TEXT"); |
| | 0 | 468 | | |
| | 0 | 469 | | b.Property<string>("SerializedBookmarkPayload") |
| | 0 | 470 | | .HasColumnType("TEXT"); |
| | 0 | 471 | | |
| | 0 | 472 | | b.Property<string>("SerializedInput") |
| | 0 | 473 | | .HasColumnType("TEXT"); |
| | 0 | 474 | | |
| | 0 | 475 | | b.Property<string>("TenantId") |
| | 0 | 476 | | .HasColumnType("TEXT"); |
| | 0 | 477 | | |
| | 0 | 478 | | b.Property<string>("WorkflowInstanceId") |
| | 0 | 479 | | .HasColumnType("TEXT"); |
| | 0 | 480 | | |
| | 0 | 481 | | b.HasKey("Id"); |
| | 0 | 482 | | |
| | 0 | 483 | | b.HasIndex(new[] { "ActivityInstanceId" }, "IX_WorkflowInboxMessage_ActivityInstanceId"); |
| | 0 | 484 | | |
| | 0 | 485 | | b.HasIndex(new[] { "ActivityTypeName" }, "IX_WorkflowInboxMessage_ActivityTypeName"); |
| | 0 | 486 | | |
| | 0 | 487 | | b.HasIndex(new[] { "CorrelationId" }, "IX_WorkflowInboxMessage_CorrelationId"); |
| | 0 | 488 | | |
| | 0 | 489 | | b.HasIndex(new[] { "CreatedAt" }, "IX_WorkflowInboxMessage_CreatedAt"); |
| | 0 | 490 | | |
| | 0 | 491 | | b.HasIndex(new[] { "ExpiresAt" }, "IX_WorkflowInboxMessage_ExpiresAt"); |
| | 0 | 492 | | |
| | 0 | 493 | | b.HasIndex(new[] { "Hash" }, "IX_WorkflowInboxMessage_Hash"); |
| | 0 | 494 | | |
| | 0 | 495 | | b.HasIndex(new[] { "WorkflowInstanceId" }, "IX_WorkflowInboxMessage_WorkflowInstanceId"); |
| | 0 | 496 | | |
| | 0 | 497 | | b.ToTable("WorkflowInboxMessages", "Elsa"); |
| | 0 | 498 | | }); |
| | | 499 | | #pragma warning restore 612, 618 |
| | 0 | 500 | | } |
| | | 501 | | } |
| | | 502 | | } |