Skip to content

batches: Make relation between batch spec and batch change explicit in server-side execution

Created by: BolajiOlajide

Closes #36543 (closed)

Test plan

  • Add unit tests for added functionality.
  • Create batch change server-side and locally and confirm if the column is populated correctly.

Context

This PR adds a new NULLABLE column to batch_specs table that points to batch_changes.id field in the batch_changes table. This column will be populated when the batch spec is created with createBatchSpecFromRaw and when it's not it'll have a value of NULL.

Merge request reports

Loading