1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-05 14:23:30 +01:00
bitwarden-server/util/Migrator/DbScripts/2024-07-16_02_DropCollectionCipherSprocs.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
770 B
MySQL
Raw Normal View History

-- 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