From 56fb34d9876124107f683a51b7fde1c61c66f94f Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 15 Dec 2025 15:31:30 +0100 Subject: [PATCH] Update Status property mapping to STATUS_ID column Changed the database column mapping for the Status property from "STATUS" to "STATUS_ID" to ensure correct association with the updated schema. --- src/ReC.Infrastructure/RecDbContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReC.Infrastructure/RecDbContext.cs b/src/ReC.Infrastructure/RecDbContext.cs index 203301a..fbfb924 100644 --- a/src/ReC.Infrastructure/RecDbContext.cs +++ b/src/ReC.Infrastructure/RecDbContext.cs @@ -133,7 +133,7 @@ public class RecDbContext(DbContextOptions options) : DbContext(op .ValueGeneratedOnAdd(); b.Property(e => e.ActionId).HasColumnName("ACTION_ID"); - b.Property(e => e.Status).HasColumnName("STATUS"); + b.Property(e => e.Status).HasColumnName("STATUS_ID"); b.Property(e => e.Header).HasColumnName("RESULT_HEADER"); b.Property(e => e.Body).HasColumnName("RESULT_BODY"); b.Property(e => e.AddedWho).HasColumnName("ADDED_WHO");