1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

Drop CollectionCipher V2 sprocs (#4515)

These sprocs were used to remove AccessAll from
cipher access logic. Now the original sprocs have been
updated with the new logic, these v2 sprocs are unused
and are being dropped to complete the EDD cycle.
This commit is contained in:
Thomas Rittson
2024-07-18 08:24:34 +10:00
committed by GitHub
parent b4e58ad942
commit f57f98afe4
5 changed files with 26 additions and 199 deletions

View File

@ -0,0 +1,26 @@
-- Clean up chore: delete v2 CollectionCipher sprocs
-- These were already copied back to v0 in 2024-07-09_00_CollectionCipherRemoveAccessAll
IF OBJECT_ID('[dbo].[CollectionCipher_ReadByUserId_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[CollectionCipher_ReadByUserId_V2]
END
GO
IF OBJECT_ID('[dbo].[CollectionCipher_ReadByUserIdCipherId_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[CollectionCipher_ReadByUserIdCipherId_V2]
END
GO
IF OBJECT_ID('[dbo].[CollectionCipher_UpdateCollections_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[CollectionCipher_UpdateCollections_V2]
END
GO
IF OBJECT_ID('[dbo].[CollectionCipher_UpdateCollectionsForCiphers_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[CollectionCipher_UpdateCollectionsForCiphers_V2]
END
GO