1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05:00

Remove inactive device migration

This commit is contained in:
Bernd Schoolmann 2025-04-03 11:34:09 +02:00
parent d41a09808b
commit 3b60c357b9
No known key found for this signature in database

View File

@ -1,12 +0,0 @@
UPDATE [dbo].[Device]
SET
EncryptedUserKey = NULL,
EncryptedPublicKey = NULL,
EncryptedPrivateKey = NULL
WHERE Active = 0
AND (
EncryptedUserKey IS NOT NULL OR
EncryptedPublicKey IS NOT NULL OR
EncryptedPrivateKey IS NOT NULL
);
GO