Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: task release schema version (#16423)

p0ny9430443eb4f1
diff --git a/backend/api/v1/rollout_service_task.go b/backend/api/v1/rollout_service_task.go
index 694fa5118e..ddf31d406a 100644
--- a/backend/api/v1/rollout_service_task.go
+++ b/backend/api/v1/rollout_service_task.go
@@ -422,8 +422,12 @@ func getTaskCreatesFromChangeDatabaseConfigWithRelease(
// Create task payload
payload := &storepb.Task{
- SpecId: spec.Id,
- SheetId: int32(sheetUID),
+ SpecId: spec.Id,
+ SheetId: int32(sheetUID),
+ SchemaVersion: file.Version,
+ TaskReleaseSource: &storepb.TaskReleaseSource{
+ File: common.FormatReleaseFile(c.Release, file.Id),
+ },
}
// Add ghost flags if this is a ghost migration