diff --git a/DigitalLearningSolutions.Data.Migrations/202503121538_Alter_SendExpiredTBCReminders.cs b/DigitalLearningSolutions.Data.Migrations/202503121538_Alter_SendExpiredTBCReminders.cs
new file mode 100644
index 0000000000..315960fb4f
--- /dev/null
+++ b/DigitalLearningSolutions.Data.Migrations/202503121538_Alter_SendExpiredTBCReminders.cs
@@ -0,0 +1,19 @@
+
+
+namespace DigitalLearningSolutions.Data.Migrations
+{
+ using FluentMigrator;
+
+ [Migration(202503121538)]
+ public class Alter_SendExpiredTBCReminders : Migration
+ {
+ public override void Up()
+ {
+ Execute.Sql(Properties.Resources.TD_5412_Alter_SendExpiredTBCReminders_Up);
+ }
+ public override void Down()
+ {
+ Execute.Sql(Properties.Resources.TD_5412_Alter_SendExpiredTBCReminders_Down);
+ }
+ }
+}
diff --git a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs
index 5b5d5f74dd..1b4edf4c6f 100644
--- a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs
+++ b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.Designer.cs
@@ -2392,6 +2392,50 @@ internal static string TD_4950_dboGetOtherCentresForSelfAssessmentCreateOrAlter
}
}
+ ///
+ /// Looks up a localized string similar to /****** Object: StoredProcedure [dbo].[SendExpiredTBCReminders] Script Date: 11/03/2025 13:13:15 ******/
+ ///SET ANSI_NULLS ON
+ ///GO
+ ///
+ ///SET QUOTED_IDENTIFIER ON
+ ///GO
+ ///
+ ///-- =============================================
+ ///-- Author: Kevin Whittaker
+ ///-- Create date: 17/08/2018
+ ///-- Description: Uses DB mail to send reminders to delegates on courses with a TBC date within 1 month.
+ ///-- =============================================
+ ///ALTER PROCEDURE [dbo].[SendExpiredTBCReminders]
+ /// -- Add the parameters for the stor [rest of string was truncated]";.
+ ///
+ internal static string TD_5412_Alter_SendExpiredTBCReminders_Down {
+ get {
+ return ResourceManager.GetString("TD_5412_Alter_SendExpiredTBCReminders_Down", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to /****** Object: StoredProcedure [dbo].[SendExpiredTBCReminders] Script Date: 11/03/2025 13:13:15 ******/
+ ///SET ANSI_NULLS ON
+ ///GO
+ ///
+ ///SET QUOTED_IDENTIFIER ON
+ ///GO
+ ///
+ ///-- =============================================
+ ///-- Author: Kevin Whittaker
+ ///-- Create date: 17/08/2018
+ ///-- Description: Uses DB mail to send reminders to delegates on courses with a TBC date within 1 month.
+ ///-- =============================================
+ ///ALTER PROCEDURE [dbo].[SendExpiredTBCReminders]
+ /// -- Add the parameters for the stor [rest of string was truncated]";.
+ ///
+ internal static string TD_5412_Alter_SendExpiredTBCReminders_Up {
+ get {
+ return ResourceManager.GetString("TD_5412_Alter_SendExpiredTBCReminders_Up", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to /****** Object: StoredProcedure [dbo].[GetActiveAvailableCustomisationsForCentreFiltered_V6] Script Date: 29/09/2022 19:11:04 ******/
///SET ANSI_NULLS ON
diff --git a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx
index c2c733076c..a951c296c9 100644
--- a/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx
+++ b/DigitalLearningSolutions.Data.Migrations/Properties/Resources.resx
@@ -469,13 +469,10 @@
..\Scripts\TD_4950_Alter_GetAssessmentResultsByDelegate_UP.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-16
-
- ..\Resources\TD-4950-dboGetOtherCentresForSelfAssessmentCreateOrAlter.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8
+
+ ..\Scripts\TD-5412-Alter_SendExpiredTBCReminders_Down.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-16
-
- ..\Scripts\TD-4878-Alter_GetActivitiesForDelegateEnrolment_Down.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-16
-
-
- ..\Scripts\TD-4878-Alter_GetActivitiesForDelegateEnrolment_Up.sql;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-16
+
+ ..\Scripts\TD-5412-Alter_SendExpiredTBCReminders_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/Scripts/TD-5412-Alter_SendExpiredTBCReminders_Down.sql b/DigitalLearningSolutions.Data.Migrations/Scripts/TD-5412-Alter_SendExpiredTBCReminders_Down.sql
new file mode 100644
index 0000000000..7ca4a74075
Binary files /dev/null and b/DigitalLearningSolutions.Data.Migrations/Scripts/TD-5412-Alter_SendExpiredTBCReminders_Down.sql differ
diff --git a/DigitalLearningSolutions.Data.Migrations/Scripts/TD-5412-Alter_SendExpiredTBCReminders_Up.sql b/DigitalLearningSolutions.Data.Migrations/Scripts/TD-5412-Alter_SendExpiredTBCReminders_Up.sql
new file mode 100644
index 0000000000..3ff6d79f99
Binary files /dev/null and b/DigitalLearningSolutions.Data.Migrations/Scripts/TD-5412-Alter_SendExpiredTBCReminders_Up.sql differ