From a890d51bbc6a5608ad5992c74ee49153775aceb3 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 22 Jan 2026 12:40:42 -0500 Subject: wip: zen black --- packages/console/core/src/schema/billing.sql.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/console/core/src/schema/billing.sql.ts') diff --git a/packages/console/core/src/schema/billing.sql.ts b/packages/console/core/src/schema/billing.sql.ts index 9f05919f2..ae32ed5ce 100644 --- a/packages/console/core/src/schema/billing.sql.ts +++ b/packages/console/core/src/schema/billing.sql.ts @@ -2,6 +2,7 @@ import { bigint, boolean, index, int, json, mysqlEnum, mysqlTable, uniqueIndex, import { timestamps, ulid, utc, workspaceColumns } from "../drizzle/types" import { workspaceIndexes } from "./workspace.sql" +export const SubscriptionPlan = ["20", "100", "200"] as const export const BillingTable = mysqlTable( "billing", { @@ -28,7 +29,7 @@ export const BillingTable = mysqlTable( plan: "20" | "100" | "200" }>(), subscriptionID: varchar("subscription_id", { length: 28 }), - subscriptionPlan: mysqlEnum("subscription_plan", ["20", "100", "200"] as const), + subscriptionPlan: mysqlEnum("subscription_plan", SubscriptionPlan), timeSubscriptionBooked: utc("time_subscription_booked"), }, (table) => [ -- cgit v1.2.3