1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

[PM-10360] Drop user cipher and collection details v2 functions (#4588)

This commit is contained in:
Thomas Rittson
2024-08-09 07:33:45 +10:00
committed by GitHub
parent 31412db1a9
commit 58a314d9f4
5 changed files with 25 additions and 143 deletions

View File

@ -0,0 +1,25 @@
-- chore: drop v2 sprocs and functions that are no longer in use
IF OBJECT_ID('[dbo].[Collection_ReadByUserId_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Collection_ReadByUserId_V2]
END
GO
IF OBJECT_ID('[dbo].[UserCollectionDetails_V2]') IS NOT NULL
BEGIN
DROP FUNCTION [dbo].[UserCollectionDetails_V2]
END
GO
IF OBJECT_ID('[dbo].[CipherDetails_ReadByUserId_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[CipherDetails_ReadByUserId_V2]
END
GO
IF OBJECT_ID('[dbo].[UserCipherDetails_V2]') IS NOT NULL
BEGIN
DROP FUNCTION [dbo].[UserCipherDetails_V2]
END
GO