summaryrefslogtreecommitdiffhomepage
path: root/packages/console/core/src/schema/billing.sql.ts
diff options
context:
space:
mode:
authorFrank <[email protected]>2026-01-23 10:57:58 -0500
committerFrank <[email protected]>2026-01-23 10:58:00 -0500
commit24d942349f7875ef43fc7c22ac09750010d211e2 (patch)
tree8e3d0c3e5149b9bd8f470d11051fd9a9bd1987d2 /packages/console/core/src/schema/billing.sql.ts
parent65c236c0711e730a1ec3153b1fc75eaa71ee3487 (diff)
downloadopencode-24d942349f7875ef43fc7c22ac09750010d211e2.tar.gz
opencode-24d942349f7875ef43fc7c22ac09750010d211e2.zip
zen: use balance after rate limited
Diffstat (limited to 'packages/console/core/src/schema/billing.sql.ts')
-rw-r--r--packages/console/core/src/schema/billing.sql.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/console/core/src/schema/billing.sql.ts b/packages/console/core/src/schema/billing.sql.ts
index 6f5c55850..ba8f89280 100644
--- a/packages/console/core/src/schema/billing.sql.ts
+++ b/packages/console/core/src/schema/billing.sql.ts
@@ -24,9 +24,10 @@ export const BillingTable = mysqlTable(
timeReloadLockedTill: utc("time_reload_locked_till"),
subscription: json("subscription").$type<{
status: "subscribed"
- coupon?: string
seats: number
plan: "20" | "100" | "200"
+ useBalance?: boolean
+ coupon?: string
}>(),
subscriptionID: varchar("subscription_id", { length: 28 }),
subscriptionPlan: mysqlEnum("subscription_plan", SubscriptionPlan),