mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 20:50:21 -05:00
Remove inactive device migration
This commit is contained in:
parent
d41a09808b
commit
3b60c357b9
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user