diff --git a/DigitalLearningSolutions.Data.Migrations/202411141443_AlterGetCandidateAssessmentResultsById.cs b/DigitalLearningSolutions.Data.Migrations/202411141443_AlterGetCandidateAssessmentResultsById.cs
new file mode 100644
index 0000000000..8c53c86864
--- /dev/null
+++ b/DigitalLearningSolutions.Data.Migrations/202411141443_AlterGetCandidateAssessmentResultsById.cs
@@ -0,0 +1,17 @@
+namespace DigitalLearningSolutions.Data.Migrations
+{
+ using FluentMigrator;
+
+ [Migration(202411141443)]
+ public class AlterGetCandidateAssessmentResultsById : Migration
+ {
+ public override void Up()
+ {
+ Execute.Sql(Properties.Resources.TD_4950_AlterGetCandidateAssessmentResultsById_UP);
+ }
+ public override void Down()
+ {
+ Execute.Sql(Properties.Resources.TD_4950_AlterGetCandidateAssessmentResultsById_DOWN);
+ }
+ }
+}
diff --git a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs
index ea25a89b61..e614a4a7ca 100644
--- a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs
+++ b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs
@@ -2287,6 +2287,50 @@ internal static string TD_4950_Alter_GetAssessmentResultsByDelegate_UP {
}
}
+ ///
+ /// Looks up a localized string similar to USE [mbdbx101_uar]
+ ///GO
+ ////****** Object: StoredProcedure [dbo].[GetCandidateAssessmentResultsById] Script Date: 14/11/2024 14:31:31 ******/
+ ///SET ANSI_NULLS ON
+ ///GO
+ ///SET QUOTED_IDENTIFIER ON
+ ///GO
+ ///-- =============================================
+ ///-- Author: Auldrin Possa
+ ///-- Create date: 30/11/2023
+ ///-- Description: Returns candidate assessment results by candidateAssessmentId
+ ///-- =============================================
+ ///ALTER PROCEDURE [dbo].[GetCandidateAssessmentResultsById]
+ /// @candidateAssessmen [rest of string was truncated]";.
+ ///
+ internal static string TD_4950_AlterGetCandidateAssessmentResultsById_DOWN {
+ get {
+ return ResourceManager.GetString("TD_4950_AlterGetCandidateAssessmentResultsById_DOWN", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to USE [mbdbx101_uar]
+ ///GO
+ ////****** Object: StoredProcedure [dbo].[GetCandidateAssessmentResultsById] Script Date: 14/11/2024 14:31:31 ******/
+ ///SET ANSI_NULLS ON
+ ///GO
+ ///SET QUOTED_IDENTIFIER ON
+ ///GO
+ ///-- =============================================
+ ///-- Author: Auldrin Possa
+ ///-- Create date: 30/11/2023
+ ///-- Description: Returns candidate assessment results by candidateAssessmentId
+ ///-- =============================================
+ ///ALTER PROCEDURE [dbo].[GetCandidateAssessmentResultsById]
+ /// @candidateAssessmen [rest of string was truncated]";.
+ ///
+ internal static string TD_4950_AlterGetCandidateAssessmentResultsById_UP {
+ get {
+ return ResourceManager.GetString("TD_4950_AlterGetCandidateAssessmentResultsById_UP", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to /****** Object: UserDefinedFunction [dbo].[GetOtherCentresForSelfAssessment] Script Date: 12/11/2024 08:47:08 ******/
///SET ANSI_NULLS ON
diff --git a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx
index 8bbe003ff3..7265178a91 100644
--- a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx
+++ b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx
@@ -457,4 +457,10 @@
..\Resources\TD-4950-dboGetOtherCentresForSelfAssessmentCreateOrAlter.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+ ..\Resources\TD-4950-AlterGetCandidateAssessmentResultsById_DOWN.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-16
+
+
+ ..\Resources\TD-4950-AlterGetCandidateAssessmentResultsById_UP.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-16
+
\ No newline at end of file
diff --git a/DigitalLearningSolutions.Data.Migrations/Resources/TD-4950-AlterGetCandidateAssessmentResultsById_DOWN.sql b/DigitalLearningSolutions.Data.Migrations/Resources/TD-4950-AlterGetCandidateAssessmentResultsById_DOWN.sql
new file mode 100644
index 0000000000..4ace521f06
Binary files /dev/null and b/DigitalLearningSolutions.Data.Migrations/Resources/TD-4950-AlterGetCandidateAssessmentResultsById_DOWN.sql differ
diff --git a/DigitalLearningSolutions.Data.Migrations/Resources/TD-4950-AlterGetCandidateAssessmentResultsById_UP.sql b/DigitalLearningSolutions.Data.Migrations/Resources/TD-4950-AlterGetCandidateAssessmentResultsById_UP.sql
new file mode 100644
index 0000000000..34f3801556
Binary files /dev/null and b/DigitalLearningSolutions.Data.Migrations/Resources/TD-4950-AlterGetCandidateAssessmentResultsById_UP.sql differ