1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/util/Migrator/DbScripts/2024-07-16_01_DropCipherRepositoryV2Sprocs.sql
Thomas Rittson b4e58ad942
chore: drop CipherRepository v2 sprocs (#4464)
These updated sprocs removed AccessAll from cipher access logic.
The non-versioned sprocs have been updated with the new logic and
these v2 copies are now unused. They are being dropped to complete
the EDD cycle.
2024-07-18 08:22:45 +10:00

30 lines
590 B
Transact-SQL

IF OBJECT_ID('[dbo].[Cipher_Delete_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Cipher_Delete_V2]
END
GO
IF OBJECT_ID('[dbo].[Cipher_Move_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Cipher_Move_V2]
END
GO
IF OBJECT_ID('[dbo].[Cipher_Restore_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Cipher_Restore_V2]
END
GO
IF OBJECT_ID('[dbo].[Cipher_SoftDelete_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[Cipher_SoftDelete_V2]
END
GO
IF OBJECT_ID('[dbo].[CipherDetails_ReadByIdUserId_V2]') IS NOT NULL
BEGIN
DROP PROCEDURE [dbo].[CipherDetails_ReadByIdUserId_V2]
END
GO