From e91cc7e5142ea6568836c463de69b06d35fc3fc3 Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 7 Jan 2026 01:55:36 -0500 Subject: wip: black --- packages/console/core/src/schema/billing.sql.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'packages/console/core/src') diff --git a/packages/console/core/src/schema/billing.sql.ts b/packages/console/core/src/schema/billing.sql.ts index 8210bc152..42da13776 100644 --- a/packages/console/core/src/schema/billing.sql.ts +++ b/packages/console/core/src/schema/billing.sql.ts @@ -23,7 +23,11 @@ export const BillingTable = mysqlTable( timeReloadLockedTill: utc("time_reload_locked_till"), subscriptionID: varchar("subscription_id", { length: 28 }), }, - (table) => [...workspaceIndexes(table), uniqueIndex("global_customer_id").on(table.customerID)], + (table) => [ + ...workspaceIndexes(table), + uniqueIndex("global_customer_id").on(table.customerID), + uniqueIndex("global_subscription_id").on(table.subscriptionID), + ], ) export const PaymentTable = mysqlTable( -- cgit v1.2.3