mirror of
https://github.com/bitwarden/server.git
synced 2025-06-07 03:30:32 -05:00
[PM-22146] Remove reference to JSON_PATH_EXISTS for old migration scripts for SH instances running older SQL Server versions (#5894)
(cherry picked from commit 9ad2d61303c4ac762cf5961dc3ef53715d6dd478)
This commit is contained in:
parent
d4e70d2de7
commit
9a9808417e
@ -129,7 +129,7 @@ BEGIN
|
|||||||
END
|
END
|
||||||
|
|
||||||
-- Check if the attachment exists before trying to remove it
|
-- 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
|
BEGIN
|
||||||
-- Attachment doesn't exist, nothing to do
|
-- Attachment doesn't exist, nothing to do
|
||||||
RETURN;
|
RETURN;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user