1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 01:53:17 +00:00

Updates to SSO config DB setup

This commit is contained in:
Matt Portune
2020-06-23 23:54:27 -04:00
parent cf70a5e480
commit 09df3f64d3
5 changed files with 40 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
CREATE TABLE [dbo].[Organization] (
[Id] UNIQUEIDENTIFIER NOT NULL,
[Identifier] NVARCHAR (50) NULL,
[Name] NVARCHAR (50) NOT NULL,
[BusinessName] NVARCHAR (50) NULL,
[BusinessAddress1] NVARCHAR (50) NULL,
@@ -42,3 +43,6 @@ CREATE NONCLUSTERED INDEX [IX_Organization_Enabled]
ON [dbo].[Organization]([Id] ASC, [Enabled] ASC)
INCLUDE ([UseTotp]);
GO
CREATE NONCLUSTERED INDEX [IX_Organization_Identifier]
ON [dbo].[Organization]([Identifier] ASC)