1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

use directory bit on orgs

This commit is contained in:
Kyle Spearrin
2017-05-20 15:31:16 -04:00
parent c362f88246
commit 2ad365706c
10 changed files with 28 additions and 7 deletions

View File

@ -8,6 +8,7 @@
@Seats SMALLINT,
@MaxCollections SMALLINT,
@UseGroups BIT,
@UseDirectory BIT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@Enabled BIT,
@ -28,6 +29,7 @@ BEGIN
[Seats],
[MaxCollections],
[UseGroups],
[UseDirectory],
[StripeCustomerId],
[StripeSubscriptionId],
[Enabled],
@ -45,6 +47,7 @@ BEGIN
@Seats,
@MaxCollections,
@UseGroups,
@UseDirectory,
@StripeCustomerId,
@StripeSubscriptionId,
@Enabled,

View File

@ -8,6 +8,7 @@
@Seats SMALLINT,
@MaxCollections SMALLINT,
@UseGroups BIT,
@UseDirectory BIT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@Enabled BIT,
@ -29,6 +30,7 @@ BEGIN
[Seats] = @Seats,
[MaxCollections] = @MaxCollections,
[UseGroups] = @UseGroups,
[UseDirectory] = @UseDirectory,
[StripeCustomerId] = @StripeCustomerId,
[StripeSubscriptionId] = @StripeSubscriptionId,
[Enabled] = @Enabled,

View File

@ -8,6 +8,7 @@
[Seats] SMALLINT NULL,
[MaxCollections] SMALLINT NULL,
[UseGroups] BIT NOT NULL,
[UseDirectory] BIT NOT NULL,
[StripeCustomerId] VARCHAR (50) NULL,
[StripeSubscriptionId] VARCHAR (50) NULL,
[Enabled] BIT NOT NULL,

View File

@ -6,6 +6,7 @@ SELECT
O.[Name],
O.[Enabled],
O.[UseGroups],
O.[UseDirectory],
O.[Seats],
O.[MaxCollections],
OU.[Key],