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:
30
src/Sql/dbo/Stored Procedures/SsoConfig_Create.sql
Normal file
30
src/Sql/dbo/Stored Procedures/SsoConfig_Create.sql
Normal 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
|
||||
Reference in New Issue
Block a user