mirror of
https://github.com/bitwarden/server
synced 2026-01-10 12:33:49 +00:00
* Sso user table, model and repo stubbed out * switch to nullable org id, bigint id * update GetBySsoUserAsync * cleanup migrator file * fix EF user repo * fix pg repo * is `IS NULL` checks * unique indexes * update migration scripts * add another unique index * remove old script
14 lines
270 B
Transact-SQL
14 lines
270 B
Transact-SQL
CREATE PROCEDURE [dbo].[SsoUser_Delete]
|
|
@UserId UNIQUEIDENTIFIER,
|
|
@OrganizationId UNIQUEIDENTIFIER
|
|
AS
|
|
BEGIN
|
|
SET NOCOUNT ON
|
|
|
|
DELETE
|
|
FROM
|
|
[dbo].[SsoUser]
|
|
WHERE
|
|
[UserId] = @UserId
|
|
AND [OrganizationId] = @OrganizationId
|
|
END |