Skip to main content

Workflow Database Source Map

Summary

This map links database concerns to authoritative source inspected for Epic 17.4.

Source inventory

ConcernVerified source
DbSets, fluent mappings, filters and outbox mappingmicroservices/src/workflow-service/Infrastructure/WorkflowDbContext.cs
Repositories, writers, outbox store, tenant and design-time factorymicroservices/src/workflow-service/Infrastructure/Persistence.cs
Definition/version/step/condition fields and lifecyclemicroservices/src/workflow-service/Domain/Workflow/WorkflowDefinition.cs
Instance/task/action fields and lifecyclemicroservices/src/workflow-service/Domain/Workflow/WorkflowInstance.cs
Initial schema changemicroservices/src/workflow-service/Infrastructure/Migrations/20260706165438_InitialWorkflowSchema.cs
Generated migration modelmicroservices/src/workflow-service/Infrastructure/Migrations/20260706165438_InitialWorkflowSchema.Designer.cs
Current model snapshotmicroservices/src/workflow-service/Infrastructure/Migrations/WorkflowDbContextModelSnapshot.cs
Development seedmicroservices/src/workflow-service/Infrastructure/DevelopmentSeeder.cs
Runtime migration compositionmicroservices/src/workflow-service/Program.cs
Query patternsmicroservices/src/workflow-service/Application/Queries/WorkflowQueries.cs
Command save boundariesmicroservices/src/workflow-service/Application/Commands/WorkflowDefinitionCommands.cs, Application/Commands/WorkflowInstanceCommands.cs
Integrated smoke evidencemicroservices/scripts/smoke-workflow.ps1, microservices/scripts/run-v1-regression.ps1

Evidence boundary

Static source and migration artifacts were read. No database, migration, seeder, API or runtime configuration was executed.

Classification

Canonical persistence is implemented. Concurrency, retention, processed-event use, database test depth and production governance are Foundation, Partial, Not implemented or Requires confirmation.

Requires Confirmation

Production schema state, migration history, grants, volume, performance, backups, recovery, retention and operational ownership require confirmation.

Source References

  • microservices/src/workflow-service/Infrastructure/WorkflowDbContext.cs
  • microservices/src/workflow-service/Infrastructure/Persistence.cs
  • microservices/src/workflow-service/Infrastructure/Migrations/20260706165438_InitialWorkflowSchema.cs
  • microservices/src/workflow-service/Infrastructure/Migrations/WorkflowDbContextModelSnapshot.cs
  • microservices/src/workflow-service/Infrastructure/DevelopmentSeeder.cs

See Also

Keywords

Workflow database, EF Core, Workflow schema.

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Next review: 2026-10-20