1
0
mirror of https://github.com/bitwarden/server synced 2026-01-16 07:23:15 +00:00

APIs for premium. Billing helpers.

This commit is contained in:
Kyle Spearrin
2017-07-06 14:55:58 -04:00
parent 2afef85f85
commit d346ee5169
22 changed files with 789 additions and 313 deletions

View File

@@ -18,6 +18,8 @@
@Premium BIT,
@Storage BIGINT,
@MaxStorageGb SMALLINT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
AS
@@ -45,6 +47,8 @@ BEGIN
[Premium],
[Storage],
[MaxStorageGb],
[StripeCustomerId],
[StripeSubscriptionId],
[CreationDate],
[RevisionDate]
)
@@ -69,6 +73,8 @@ BEGIN
@Premium,
@Storage,
@MaxStorageGb,
@StripeCustomerId,
@StripeSubscriptionId,
@CreationDate,
@RevisionDate
)