diff options
| author | Frank <[email protected]> | 2026-01-13 17:51:20 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-01-13 17:51:21 -0500 |
| commit | eaf18d991576771ccbc3975a6c7a9358b0da8de9 (patch) | |
| tree | 1a5b3e395714502638fbffd55ac7e6b4fe9f0f1b /packages/console/core/src | |
| parent | f3d4dd5099003070800cc9ec161877634fdd7c0a (diff) | |
| download | opencode-eaf18d991576771ccbc3975a6c7a9358b0da8de9.tar.gz opencode-eaf18d991576771ccbc3975a6c7a9358b0da8de9.zip | |
wip: black
Diffstat (limited to 'packages/console/core/src')
| -rw-r--r-- | packages/console/core/src/schema/billing.sql.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/console/core/src/schema/billing.sql.ts b/packages/console/core/src/schema/billing.sql.ts index 6c2cfcf96..f1300f849 100644 --- a/packages/console/core/src/schema/billing.sql.ts +++ b/packages/console/core/src/schema/billing.sql.ts @@ -1,4 +1,4 @@ -import { bigint, boolean, index, int, json, mysqlTable, uniqueIndex, varchar } from "drizzle-orm/mysql-core" +import { bigint, boolean, index, int, json, mysqlEnum, mysqlTable, uniqueIndex, varchar } from "drizzle-orm/mysql-core" import { timestamps, ulid, utc, workspaceColumns } from "../drizzle/types" import { workspaceIndexes } from "./workspace.sql" @@ -23,6 +23,8 @@ export const BillingTable = mysqlTable( timeReloadLockedTill: utc("time_reload_locked_till"), subscriptionID: varchar("subscription_id", { length: 28 }), subscriptionCouponID: varchar("subscription_coupon_id", { length: 28 }), + subscriptionPlan: mysqlEnum("subscription_plan", ["20", "100", "200"] as const), + timeSubscriptionBooked: utc("time_subscription_booked"), }, (table) => [ ...workspaceIndexes(table), |
