1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-07 19:50:32 -05:00

refactor "Active" to "NonDeleted" for stored procedure

This commit is contained in:
Nick Krantz 2025-05-29 08:40:41 -05:00
parent f553fd7f3d
commit d15e769564
No known key found for this signature in database
GPG Key ID: FF670021ABCAB82E
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ public class NotificationRepository : Repository<Notification, Guid>, INotificat
await using var connection = new SqlConnection(ConnectionString);
var results = await connection.QueryAsync<Notification>(
"[dbo].[Notification_ReadActiveByTaskId]",
"[dbo].[Notification_ReadNonDeletedByTaskId]",
new
{
TaskId = taskId,

View File

@ -1,4 +1,4 @@
CREATE PROCEDURE [dbo].[Notification_ReadActiveByTaskId]
CREATE PROCEDURE [dbo].[Notification_ReadNonDeletedByTaskId]
@TaskId UNIQUEIDENTIFIER
AS
BEGIN

View File

@ -1,4 +1,4 @@
CREATE OR ALTER PROCEDURE [dbo].[Notification_ReadActiveByTaskId]
CREATE OR ALTER PROCEDURE [dbo].[Notification_ReadNonDeletedByTaskId]
@TaskId UNIQUEIDENTIFIER
AS
BEGIN