Skip to content

Remove Workspace Stripe fields #29

@BrewingCoder

Description

@BrewingCoder

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

  • Remove fields from struct
  • Update resolvers (return empty/nil)
  • Update GraphQL schema if these fields are exposed
  • Add column-drop migration
  • Verify build + tests

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions