1
0
mirror of https://github.com/bitwarden/server synced 2026-01-18 16:33:29 +00:00

Provider: Initial db structure (#1309)

* Initial db structure
This commit is contained in:
Oscar Hinton
2021-05-20 14:39:26 +02:00
committed by GitHub
parent c7f88ae430
commit 61307e11b0
30 changed files with 1414 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
CREATE PROCEDURE [dbo].[ProviderOrganization_Create]
@Id UNIQUEIDENTIFIER,
@ProviderId UNIQUEIDENTIFIER,
@OrganizationId UNIQUEIDENTIFIER,
@Key VARCHAR(MAX),
@Settings NVARCHAR(MAX),
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
AS
BEGIN
SET NOCOUNT ON
INSERT INTO [dbo].[ProviderOrganization]
(
[Id],
[ProviderId],
[OrganizationId],
[Key],
[Settings],
[CreationDate],
[RevisionDate]
)
VALUES
(
@Id,
@ProviderId,
@OrganizationId,
@Key,
@Settings,
@CreationDate,
@RevisionDate
)
END