mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
17 lines
326 B
Transact-SQL
17 lines
326 B
Transact-SQL
CREATE PROCEDURE [dbo].[OrganizationSponsorship_OrganizationUserDeleted]
|
|
@OrganizationUserId UNIQUEIDENTIFIER
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
UPDATE
|
|
OS
|
|
SET
|
|
[ToDelete] = 1
|
|
FROM
|
|
[dbo].[OrganizationSponsorship] OS
|
|
WHERE
|
|
[SponsoringOrganizationUserId] = @OrganizationUserId
|
|
END
|
|
GO
|