1
0
mirror of https://github.com/bitwarden/server synced 2025-12-31 07:33:43 +00:00

billing fixes and added gateway to subscriber

This commit is contained in:
Kyle Spearrin
2017-07-28 14:24:07 -04:00
parent 082b53e133
commit cfc80f8d1e
19 changed files with 269 additions and 123 deletions

View File

@@ -12,8 +12,9 @@
@UseTotp BIT,
@Storage BIGINT,
@MaxStorageGb SMALLINT,
@StripeCustomerId VARCHAR(50),
@StripeSubscriptionId VARCHAR(50),
@Gateway TINYINT,
@GatewayCustomerId VARCHAR(50),
@GatewaySubscriptionId VARCHAR(50),
@Enabled BIT,
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
@@ -36,8 +37,9 @@ BEGIN
[UseTotp],
[Storage],
[MaxStorageGb],
[StripeCustomerId],
[StripeSubscriptionId],
[Gateway],
[GatewayCustomerId],
[GatewaySubscriptionId],
[Enabled],
[CreationDate],
[RevisionDate]
@@ -57,8 +59,9 @@ BEGIN
@UseTotp,
@Storage,
@MaxStorageGb,
@StripeCustomerId,
@StripeSubscriptionId,
@Gateway,
@GatewayCustomerId,
@GatewaySubscriptionId,
@Enabled,
@CreationDate,
@RevisionDate