diff --git a/src/Infrastructure.Dapper/NotificationCenter/Repositories/NotificationRepository.cs b/src/Infrastructure.Dapper/NotificationCenter/Repositories/NotificationRepository.cs index e3f52441a8..9718c7377e 100644 --- a/src/Infrastructure.Dapper/NotificationCenter/Repositories/NotificationRepository.cs +++ b/src/Infrastructure.Dapper/NotificationCenter/Repositories/NotificationRepository.cs @@ -62,7 +62,7 @@ public class NotificationRepository : Repository, INotificat await using var connection = new SqlConnection(ConnectionString); var results = await connection.QueryAsync( - "[dbo].[Notification_ReadActiveByTaskId]", + "[dbo].[Notification_ReadNonDeletedByTaskId]", new { TaskId = taskId, diff --git a/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_ReadActiveByTaskId.sql b/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_ReadNonDeletedByTaskId.sql similarity index 80% rename from src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_ReadActiveByTaskId.sql rename to src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_ReadNonDeletedByTaskId.sql index a00334d7b4..cc6b906b16 100644 --- a/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_ReadActiveByTaskId.sql +++ b/src/Sql/NotificationCenter/dbo/Stored Procedures/Notification_ReadNonDeletedByTaskId.sql @@ -1,4 +1,4 @@ -CREATE PROCEDURE [dbo].[Notification_ReadActiveByTaskId] +CREATE PROCEDURE [dbo].[Notification_ReadNonDeletedByTaskId] @TaskId UNIQUEIDENTIFIER AS BEGIN diff --git a/util/Migrator/DbScripts/2025-05-28_00_Notification_ReadActiveByTaskId.sql b/util/Migrator/DbScripts/2025-05-29_00_Notification_ReadNonDeletedByTaskId.sql similarity index 78% rename from util/Migrator/DbScripts/2025-05-28_00_Notification_ReadActiveByTaskId.sql rename to util/Migrator/DbScripts/2025-05-29_00_Notification_ReadNonDeletedByTaskId.sql index 2a894bccef..1f08ceb318 100644 --- a/util/Migrator/DbScripts/2025-05-28_00_Notification_ReadActiveByTaskId.sql +++ b/util/Migrator/DbScripts/2025-05-29_00_Notification_ReadNonDeletedByTaskId.sql @@ -1,4 +1,4 @@ -CREATE OR ALTER PROCEDURE [dbo].[Notification_ReadActiveByTaskId] +CREATE OR ALTER PROCEDURE [dbo].[Notification_ReadNonDeletedByTaskId] @TaskId UNIQUEIDENTIFIER AS BEGIN