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

separate plans for month vs annual. users => seats

This commit is contained in:
Kyle Spearrin
2017-04-10 10:44:27 -04:00
parent bb0555a6d9
commit 5705f4f736
12 changed files with 82 additions and 93 deletions

View File

@ -184,4 +184,7 @@
<Build Include="dbo\Stored Procedures\OrganizationUser_ReadCountByOrganizationId.sql" />
<Build Include="dbo\Stored Procedures\Subvault_ReadCountByOrganizationId.sql" />
</ItemGroup>
<ItemGroup>
<RefactorLog Include="Sql.refactorlog" />
</ItemGroup>
</Project>

View File

@ -5,7 +5,7 @@
@BillingEmail NVARCHAR(50),
@Plan NVARCHAR(20),
@PlanType TINYINT,
@MaxUsers SMALLINT,
@Seats SMALLINT,
@MaxSubvaults SMALLINT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@ -23,7 +23,7 @@ BEGIN
[BillingEmail],
[Plan],
[PlanType],
[MaxUsers],
[Seats],
[MaxSubvaults],
[StripeCustomerId],
[StripeSubscriptionId],
@ -38,7 +38,7 @@ BEGIN
@BillingEmail,
@Plan,
@PlanType,
@MaxUsers,
@Seats,
@MaxSubvaults,
@StripeCustomerId,
@StripeSubscriptionId,

View File

@ -5,7 +5,7 @@
@BillingEmail NVARCHAR(50),
@Plan NVARCHAR(20),
@PlanType TINYINT,
@MaxUsers SMALLINT,
@Seats SMALLINT,
@MaxSubvaults SMALLINT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@ -24,7 +24,7 @@ BEGIN
[BillingEmail] = @BillingEmail,
[Plan] = @Plan,
[PlanType] = @PlanType,
[MaxUsers] = @MaxUsers,
[Seats] = @Seats,
[MaxSubvaults] = @MaxSubvaults,
[StripeCustomerId] = @StripeCustomerId,
[StripeSubscriptionId] = @StripeSubscriptionId,

View File

@ -5,7 +5,7 @@
[BillingEmail] NVARCHAR (50) NOT NULL,
[Plan] NVARCHAR (20) NOT NULL,
[PlanType] TINYINT NOT NULL,
[MaxUsers] SMALLINT NULL,
[Seats] SMALLINT NULL,
[MaxSubvaults] SMALLINT NULL,
[StripeCustomerId] VARCHAR (50) NULL,
[StripeSubscriptionId] VARCHAR (50) NULL,