Payments: customers/subscriptions schema #34
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web#34
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Add the customers/subscriptions tables (today's schema is only inviteCodes).
Epic: gitborg/gitborg-docs#5
supernaut refererade till detta ärende från bitborg/bitborg-docs2026-07-09 23:04:18 +00:00
Closing as superseded by the approved architecture, not as done.
This asks for
customerandsubscriptiontables in bitborg-web's schema. The approved design puts allbilling state in a separate
gitborg_paymentdatabase owned by a separate private service — theportal keeps sign-up and the account panel, and Kanidm group membership is the integration seam. Adding
these tables here would duplicate the owning service's schema in a repo that has no business writing it,
which is the specific outcome the design's state-ownership section rules out.
The tables exist, correctly, in the payment service — including the
customer,subscription,seat_assignment,charge,invoice,provider_eventandrefundtables, with migrations andconstraints reviewed.
The issue was never triaged (
needs-triage) and predates that decision, so there is nothing here torescope — the work it describes should not happen in this repository at all.
What genuinely remains for the portal is the upgrade UI and the typed client calls into that service,
behind the existing
PAYMENTS_ENABLEDflag (src/lib/payments-access.ts). Filed separately as #145 sothe remaining scope is stated accurately rather than inherited from a superseded plan.