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

adjust plans and add max subvaults to orgs

This commit is contained in:
Kyle Spearrin
2017-04-07 16:25:17 -04:00
parent 7e093a73be
commit e3cc1b9411
6 changed files with 9 additions and 7 deletions

View File

@ -6,6 +6,7 @@
@Plan NVARCHAR(20),
@PlanType TINYINT,
@MaxUsers SMALLINT,
@MaxSubvaults SMALLINT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@CreationDate DATETIME2(7),
@ -23,6 +24,7 @@ BEGIN
[Plan],
[PlanType],
[MaxUsers],
[MaxSubvaults],
[StripeCustomerId],
[StripeSubscriptionId],
[CreationDate],
@ -37,6 +39,7 @@ BEGIN
@Plan,
@PlanType,
@MaxUsers,
@MaxSubvaults,
@StripeCustomerId,
@StripeSubscriptionId,
@CreationDate,

View File

@ -6,6 +6,7 @@
@Plan NVARCHAR(20),
@PlanType TINYINT,
@MaxUsers SMALLINT,
@MaxSubvaults SMALLINT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@CreationDate DATETIME2(7),
@ -24,6 +25,7 @@ BEGIN
[Plan] = @Plan,
[PlanType] = @PlanType,
[MaxUsers] = @MaxUsers,
[MaxSubvaults] = @MaxSubvaults,
[StripeCustomerId] = @StripeCustomerId,
[StripeSubscriptionId] = @StripeSubscriptionId,
[CreationDate] = @CreationDate,

View File

@ -6,6 +6,7 @@
[Plan] NVARCHAR (20) NOT NULL,
[PlanType] TINYINT NOT NULL,
[MaxUsers] SMALLINT NULL,
[MaxSubvaults] SMALLINT NULL,
[StripeCustomerId] VARCHAR (50) NULL,
[StripeSubscriptionId] VARCHAR (50) NULL,
[CreationDate] DATETIME2 (7) NOT NULL,