diff options
| author | Frank <[email protected]> | 2026-01-06 19:40:36 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-01-06 23:34:12 -0500 |
| commit | 22b058a33d40f0bdf1052fcc542b75f67f738fc6 (patch) | |
| tree | b153d80b5cdba27339006a13edd10812c7108067 /packages/console/core/src/schema/user.sql.ts | |
| parent | 939c0940aaeede94fd9a2af07a47ecda25426b2e (diff) | |
| download | opencode-22b058a33d40f0bdf1052fcc542b75f67f738fc6.tar.gz opencode-22b058a33d40f0bdf1052fcc542b75f67f738fc6.zip | |
wip: black
Diffstat (limited to 'packages/console/core/src/schema/user.sql.ts')
| -rw-r--r-- | packages/console/core/src/schema/user.sql.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/console/core/src/schema/user.sql.ts b/packages/console/core/src/schema/user.sql.ts index 7fd7f5e1e..e2b8784b2 100644 --- a/packages/console/core/src/schema/user.sql.ts +++ b/packages/console/core/src/schema/user.sql.ts @@ -18,6 +18,12 @@ export const UserTable = mysqlTable( monthlyLimit: int("monthly_limit"), monthlyUsage: bigint("monthly_usage", { mode: "number" }), timeMonthlyUsageUpdated: utc("time_monthly_usage_updated"), + // subscription + timeSubscribed: utc("time_subscribed"), + subRecentUsage: bigint("sub_recent_usage", { mode: "number" }), + subMonthlyUsage: bigint("sub_monthly_usage", { mode: "number" }), + timeSubRecentUsageUpdated: utc("sub_time_recent_usage_updated"), + timeSubMonthlyUsageUpdated: utc("sub_time_monthly_usage_updated"), }, (table) => [ ...workspaceIndexes(table), |
