diff --git a/src/WorkflowManager/Contracts/Migrations/M005_Payload_seriesUid.cs b/src/WorkflowManager/Contracts/Migrations/M005_Payload_seriesUid.cs index 74e1e7b83..47e87207c 100755 --- a/src/WorkflowManager/Contracts/Migrations/M005_Payload_seriesUid.cs +++ b/src/WorkflowManager/Contracts/Migrations/M005_Payload_seriesUid.cs @@ -27,7 +27,7 @@ public override void Up(BsonDocument document) { try { - document.Add("SeriesInstanceUid", BsonNull.Create(null).ToJson(), true); + document.Add("SeriesInstanceUid", new BsonString(""), true); } catch { diff --git a/src/WorkflowManager/Contracts/Migrations/M006_Payload_triggeredWorkflows.cs b/src/WorkflowManager/Contracts/Migrations/M006_Payload_triggeredWorkflows.cs index ab947dd96..95838bd48 100755 --- a/src/WorkflowManager/Contracts/Migrations/M006_Payload_triggeredWorkflows.cs +++ b/src/WorkflowManager/Contracts/Migrations/M006_Payload_triggeredWorkflows.cs @@ -27,7 +27,7 @@ public override void Up(BsonDocument document) { try { - document.Add("TriggeredWorkflowNames", BsonNull.Create(null).ToJson(), true); + document.Add("TriggeredWorkflowNames", new BsonArray()); } catch { diff --git a/src/WorkflowManager/Contracts/Models/Payload.cs b/src/WorkflowManager/Contracts/Models/Payload.cs index 2abdcdadc..564d90396 100755 --- a/src/WorkflowManager/Contracts/Models/Payload.cs +++ b/src/WorkflowManager/Contracts/Models/Payload.cs @@ -27,7 +27,7 @@ namespace Monai.Deploy.WorkflowManager.Common.Contracts.Models { - [CollectionLocation("Payloads"), RuntimeVersion("1.0.7"), StartUpVersion("1.0.7")] + [CollectionLocation("Payloads"), RuntimeVersion("1.0.7")] public class Payload : IDocument { [JsonConverter(typeof(DocumentVersionConvert)), BsonSerializer(typeof(DocumentVersionConverBson))] diff --git a/src/WorkflowManager/Contracts/Models/WorkflowRevision.cs b/src/WorkflowManager/Contracts/Models/WorkflowRevision.cs index 198e8399f..8cd2076e8 100755 --- a/src/WorkflowManager/Contracts/Models/WorkflowRevision.cs +++ b/src/WorkflowManager/Contracts/Models/WorkflowRevision.cs @@ -23,7 +23,7 @@ namespace Monai.Deploy.WorkflowManager.Common.Contracts.Models { - [CollectionLocation("Workflows"), RuntimeVersion("1.0.4"), StartUpVersion("1.0.4")] + [CollectionLocation("Workflows"), RuntimeVersion("1.0.4")] public class WorkflowRevision : ISoftDeleteable, IDocument { [BsonId]