Skip to content

Commit

Permalink
Merge pull request #1009 from Project-MONAI/nds-addAccessionId
Browse files Browse the repository at this point in the history
adding statupVersion to see it that run migrations in dev
  • Loading branch information
neildsouth authored Jul 3, 2024
2 parents 9bc6929 + 6943104 commit 657ca97
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ public M005_Payload_seriesUid() : base("1.0.5") { }

public override void Up(BsonDocument document)
{
document.Add("SeriesInstanceUid", BsonNull.Create(null).ToJson(), true);
try
{
document.Add("SeriesInstanceUid", BsonNull.Create(null).ToJson(), true);
}
catch
{
}
}

public override void Down(BsonDocument document)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ public M006_Payload_triggeredWorkflows() : base("1.0.6") { }

public override void Up(BsonDocument document)
{
document.Add("TriggeredWorkflowNames", BsonNull.Create(null).ToJson(), true);
try
{
document.Add("TriggeredWorkflowNames", BsonNull.Create(null).ToJson(), true);
}
catch
{
}
}

public override void Down(BsonDocument document)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ public M007_Payload_addAccessionId() : base("1.0.7") { }

public override void Up(BsonDocument document)
{
document.Add("AccessionId", new BsonString(""), true);
try
{
document.Add("AccessionId", new BsonString(""), true);
}
catch
{
}
}

public override void Down(BsonDocument document)
Expand Down

0 comments on commit 657ca97

Please sign in to comment.