zen: support stripe link
This commit is contained in:
parent
1c1380d3c8
commit
7ec5e49e19
11 changed files with 960 additions and 10 deletions
|
|
@ -27,6 +27,7 @@ export namespace Billing {
|
|||
.select({
|
||||
customerID: BillingTable.customerID,
|
||||
paymentMethodID: BillingTable.paymentMethodID,
|
||||
paymentMethodType: BillingTable.paymentMethodType,
|
||||
paymentMethodLast4: BillingTable.paymentMethodLast4,
|
||||
balance: BillingTable.balance,
|
||||
reload: BillingTable.reload,
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ export const BillingTable = mysqlTable(
|
|||
...timestamps,
|
||||
customerID: varchar("customer_id", { length: 255 }),
|
||||
paymentMethodID: varchar("payment_method_id", { length: 255 }),
|
||||
paymentMethodType: varchar("payment_method_type", { length: 32 }),
|
||||
paymentMethodLast4: varchar("payment_method_last4", { length: 4 }),
|
||||
balance: bigint("balance", { mode: "number" }).notNull(),
|
||||
monthlyLimit: int("monthly_limit"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue