1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-04 20:50:21 -05:00
bitwarden/src/Sql/dbo/Stored Procedures/OrganizationIntegration_Create.sql

31 lines
652 B
Transact-SQL

CREATE PROCEDURE [dbo].[OrganizationIntegration_Create]
@Id UNIQUEIDENTIFIER OUTPUT,
@OrganizationId UNIQUEIDENTIFIER,
@Type SMALLINT,
@Configuration VARCHAR(MAX),
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
AS
BEGIN
SET NOCOUNT ON
INSERT INTO [dbo].[OrganizationIntegration]
(
[Id],
[OrganizationId],
[Type],
[Configuration],
[CreationDate],
[RevisionDate]
)
VALUES
(
@Id,
@OrganizationId,
@Type,
@Configuration,
@CreationDate,
@RevisionDate
)
END