diff options
| author | Frank <[email protected]> | 2026-01-13 19:51:48 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-01-13 19:51:48 -0500 |
| commit | 6fe265e7d804a92d91a02ae93817ad50546cd656 (patch) | |
| tree | ff59578d0b0df26047ea705c3c3e9384f785f19a /packages/console/core/src | |
| parent | f242541ef3eb2cfea59d9bd79d2977aec79e7666 (diff) | |
| parent | 2aed4d263b4873c3085acdcbcf871a8dadaf392e (diff) | |
| download | opencode-6fe265e7d804a92d91a02ae93817ad50546cd656.tar.gz opencode-6fe265e7d804a92d91a02ae93817ad50546cd656.zip | |
Merge branch 'zen-black' into dev
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), |
