1
0
mirror of https://github.com/bitwarden/server synced 2026-01-18 00:13:19 +00:00

DAL & CRUD for SSO

This commit is contained in:
Matt Portune
2020-06-25 16:42:29 -04:00
parent b7154f017f
commit 39a81af3e9
14 changed files with 407 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
CREATE PROCEDURE [dbo].[SsoConfig_Create]
@Id BIGINT,
@Enabled BIT,
@OrganizationId UNIQUEIDENTIFIER,
@Data NVARCHAR(MAX),
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
AS
BEGIN
SET NOCOUNT ON
INSERT INTO [dbo].[SsoConfig]
(
[Id],
[Enabled],
[OrganizationId],
[Data],
[CreationDate],
[RevisionDate]
)
VALUES
(
@Id,
@Enabled,
@OrganizationId,
@Data,
@CreationDate,
@RevisionDate
)
END