Skip to content

Commit

Permalink
Hotfix: Nullable Status logs (#228)
Browse files Browse the repository at this point in the history
Co-authored-by: Rodrigo Sanchez <rodrigo@clovrlabs.com>
  • Loading branch information
RodriFS and Rodrigo Sanchez authored Jul 6, 2023
1 parent c6ae540 commit 5ee6153
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Data/Models/ChannelOperationRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public decimal Amount
public decimal? FeeRate { get; set; }

[Column(TypeName = "jsonb")]
public List<ChannelStatusLog> StatusLogs { get; set; } = new();
public List<ChannelStatusLog>? StatusLogs { get; set; } = new();

#region Relationships

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
name: "StatusLogs",
table: "ChannelOperationRequests",
type: "jsonb",
nullable: false);
nullable: true);
}

protected override void Down(MigrationBuilder migrationBuilder)
Expand Down

0 comments on commit 5ee6153

Please sign in to comment.