1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-17 23:50:58 -05:00

Added use groups bit to org

This commit is contained in:
Kyle Spearrin
2017-05-08 14:22:40 -04:00
parent fdf7546f33
commit 81d4be6f56
10 changed files with 25 additions and 67 deletions

View File

@ -7,6 +7,7 @@
@PlanType TINYINT,
@Seats SMALLINT,
@MaxCollections SMALLINT,
@UseGroups BIT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@Enabled BIT,
@ -26,6 +27,7 @@ BEGIN
[PlanType],
[Seats],
[MaxCollections],
[UseGroups],
[StripeCustomerId],
[StripeSubscriptionId],
[Enabled],
@ -42,6 +44,7 @@ BEGIN
@PlanType,
@Seats,
@MaxCollections,
@UseGroups,
@StripeCustomerId,
@StripeSubscriptionId,
@Enabled,

View File

@ -7,6 +7,7 @@
@PlanType TINYINT,
@Seats SMALLINT,
@MaxCollections SMALLINT,
@UseGroups BIT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@Enabled BIT,
@ -27,6 +28,7 @@ BEGIN
[PlanType] = @PlanType,
[Seats] = @Seats,
[MaxCollections] = @MaxCollections,
[UseGroups] = @UseGroups,
[StripeCustomerId] = @StripeCustomerId,
[StripeSubscriptionId] = @StripeSubscriptionId,
[Enabled] = @Enabled,

View File

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

View File

@ -5,6 +5,9 @@ SELECT
OU.[OrganizationId],
O.[Name],
O.[Enabled],
O.[UseGroups],
O.[Seats],
O.[MaxCollections],
OU.[Key],
OU.[Status],
OU.[Type]