Parent: #25 — Remove all SaaS billing code
Depends on: #28 (pricing removal — some of these fields are read by pricing code)
What to Remove from Workspace struct
| Field |
Line |
Type |
StripeCustomerID |
271 |
*string |
StripeSessionOveragePriceID |
294 |
*string |
StripeErrorOveragePriceID |
295 |
*string |
StripeLogOveragePriceID |
296 |
*string |
StripeTracesOveragePriceID |
297 |
*string |
StripeMetricsOveragePriceID |
298 |
*string |
Callers
| File |
Line |
Usage |
private-graph/graph/schema.resolvers.go |
4803-4804 |
StripeCustomerID null check + return |
private-graph/graph/schema.resolvers.go |
4824 |
StripeCustomerID assignment in mutation |
private-graph/graph/resolver.go |
520-524 |
All 5 overage price IDs mapped to response |
private-graph/graph/resolver.go |
522 |
StripeSessionOveragePriceID |
Migration Required
- Add DB migration to drop 6 columns from
workspaces table
Test Plan
🤖 Generated with Claude Code
Parent: #25 — Remove all SaaS billing code
Depends on: #28 (pricing removal — some of these fields are read by pricing code)
What to Remove from Workspace struct
StripeCustomerIDStripeSessionOveragePriceIDStripeErrorOveragePriceIDStripeLogOveragePriceIDStripeTracesOveragePriceIDStripeMetricsOveragePriceIDCallers
private-graph/graph/schema.resolvers.goprivate-graph/graph/schema.resolvers.goprivate-graph/graph/resolver.goprivate-graph/graph/resolver.goMigration Required
workspacestableTest Plan
🤖 Generated with Claude Code