mirror of
https://github.com/bitwarden/server.git
synced 2025-06-10 13:10:31 -05:00
[PM-22146] Remove reference to JSON_PATH_EXISTS for old migration scripts for SH instances running older SQL Server versions (#5894)
This commit is contained in:
parent
e19bee4195
commit
9ad2d61303
@ -129,7 +129,7 @@ BEGIN
|
||||
END
|
||||
|
||||
-- Check if the attachment exists before trying to remove it
|
||||
IF JSON_PATH_EXISTS(@CurrentAttachments, @AttachmentIdPath) = 0
|
||||
IF JSON_QUERY(@CurrentAttachments, @AttachmentIdPath) IS NULL
|
||||
BEGIN
|
||||
-- Attachment doesn't exist, nothing to do
|
||||
RETURN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user