Skip to main content
Generated from the local SchemaBrain store (schema version 17). Every indexed table, column, type, PII classification, semantic join, and metric.

api_key

A programmatic API credential issued to a workspace.
  • Table: public.api_keys
  • Identity: id
  • Group: identity

Columns

Joins

billing_profile

A workspace’s legal / tax identity used for invoicing.
  • Table: public.billing_profiles
  • Identity: id
  • Group: billing

Columns

Joins

invoice

A billing document issued to a workspace.
  • Table: public.invoices
  • Identity: id
  • Group: billing

Columns

Joins

Metrics

payment_method

A card on file for a workspace (tokenized last-4, brand, expiry).
  • Table: public.payment_methods
  • Identity: id
  • Group: billing

Columns

Joins

plan

A subscription plan in the catalog (tier, price, included seats, SLA).
  • Table: public.plans
  • Identity: id
  • Group: billing

Columns

Joins

session

An authenticated login session for a user.
  • Table: public.sessions
  • Identity: id
  • Group: identity

Columns

Joins

subscription

A workspace’s binding to a plan, with its lifecycle timestamps.
  • Table: public.subscriptions
  • Identity: id
  • Group: billing

Columns

Joins

Metrics

subscription_item

A per-seat line item on a subscription (line-level revenue grain).
  • Table: public.subscription_items
  • Identity: id
  • Group: billing

Columns

Joins

Metrics

support_ticket

A customer-filed support request (free-text body).
  • Table: public.support_tickets
  • Identity: id
  • Group: activity

Columns

Joins

usage_event

A metered telemetry event (api_call / login / export).
  • Table: public.usage_events
  • Identity: id
  • Group: activity

Columns

Metrics

user

A workspace member account (login credential + contact details).
  • Table: public.users
  • Identity: id
  • Group: identity

Columns

Joins

Metrics

workspace

A tenant account — the org boundary that owns users, subscriptions, and billing.
  • Table: public.workspaces
  • Identity: id
  • Group: identity

Columns

Joins