diff options
| author | Frank <[email protected]> | 2026-01-16 17:48:26 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-01-16 17:48:26 -0500 |
| commit | f96c4badd8d491291de7a5f9b06a948f353aa3d4 (patch) | |
| tree | 6dc15fd38916a5e6beabfb061312864046bcb99f /packages/console/core/src | |
| parent | cbe1c81470564a8f5042047d7422219426e78030 (diff) | |
| download | opencode-f96c4badd8d491291de7a5f9b06a948f353aa3d4.tar.gz opencode-f96c4badd8d491291de7a5f9b06a948f353aa3d4.zip | |
wip: black
Diffstat (limited to 'packages/console/core/src')
| -rw-r--r-- | packages/console/core/src/schema/billing.sql.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/console/core/src/schema/billing.sql.ts b/packages/console/core/src/schema/billing.sql.ts index 56b2ef33b..9f05919f2 100644 --- a/packages/console/core/src/schema/billing.sql.ts +++ b/packages/console/core/src/schema/billing.sql.ts @@ -31,7 +31,11 @@ export const BillingTable = mysqlTable( subscriptionPlan: mysqlEnum("subscription_plan", ["20", "100", "200"] as const), timeSubscriptionBooked: utc("time_subscription_booked"), }, - (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 SubscriptionTable = mysqlTable( |
