mirror of
https://github.com/bitwarden/server
synced 2026-01-20 01:13:18 +00:00
org signup plan details
This commit is contained in:
@@ -2,15 +2,22 @@
|
||||
@Id UNIQUEIDENTIFIER,
|
||||
@UserId UNIQUEIDENTIFIER,
|
||||
@Name NVARCHAR(50),
|
||||
@BusinessName NVARCHAR(50),
|
||||
@BillingEmail NVARCHAR(50),
|
||||
@Plan NVARCHAR(20),
|
||||
@PlanType TINYINT,
|
||||
@PlanPrice MONEY,
|
||||
@PlanRenewalPrice MONEY,
|
||||
@PlanBasePrice MONEY,
|
||||
@PlanUserPrice MONEY,
|
||||
@PlanRenewalDate DATETIME2(7),
|
||||
@PlanTrial BIT,
|
||||
@BaseUsers SMALLINT,
|
||||
@AdditionalUsers SMALLINT,
|
||||
@MaxUsers SMALLINT,
|
||||
@StripeCustomerId VARCHAR(50),
|
||||
@StripeSubscriptionId VARCHAR(50),
|
||||
@CreationDate DATETIME2(7),
|
||||
@RevisionDate DATETIME2(7)
|
||||
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
@@ -20,13 +27,19 @@ BEGIN
|
||||
SET
|
||||
[UserId] = @UserId,
|
||||
[Name] = @Name,
|
||||
[BusinessName] = @BusinessName,
|
||||
[BillingEmail] = @BillingEmail,
|
||||
[Plan] = @Plan,
|
||||
[PlanType] = @PlanType,
|
||||
[PlanPrice] = @PlanPrice,
|
||||
[PlanRenewalPrice] = @PlanRenewalPrice,
|
||||
[PlanBasePrice] = @PlanBasePrice,
|
||||
[PlanUserPrice] = @PlanUserPrice,
|
||||
[PlanRenewalDate] = @PlanRenewalDate,
|
||||
[PlanTrial] = @PlanTrial,
|
||||
[BaseUsers] = @BaseUsers,
|
||||
[AdditionalUsers] = @AdditionalUsers,
|
||||
[MaxUsers] = @MaxUsers,
|
||||
[StripeCustomerId] = @StripeCustomerId,
|
||||
[StripeSubscriptionId] = @StripeSubscriptionId,
|
||||
[CreationDate] = @CreationDate,
|
||||
[RevisionDate] = @RevisionDate
|
||||
WHERE
|
||||
|
||||
Reference in New Issue
Block a user