1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

DB support for SSO config

This commit is contained in:
Matt Portune
2020-06-21 23:35:05 -04:00
parent fcd100d3eb
commit 8e7cb082ad
6 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,12 @@
IF OBJECT_ID('[dbo].[SsoConfig]') IS NULL
BEGIN
CREATE TABLE [dbo].[SsoConfig] (
[OrganizationId] UNIQUEIDENTIFIER NULL,
[Identifier] NVARCHAR (50) NULL,
[Data] NVARCHAR (MAX) NULL,
[CreationDate] DATETIME2 (7) NOT NULL,
[RevisionDate] DATETIME2 (7) NOT NULL,
CONSTRAINT [FK_SsoConfig_Organization] FOREIGN KEY ([OrganizationId]) REFERENCES [dbo].[Organization] ([Id])
);
END
GO