Skip to main content

Table

creditbatches

Each row represents a named batch of prepaid credit with balances and expiry dates.

statusgroupRedshift
All tables

creditbatches

Each row represents a named batch of prepaid credit with balances and expiry dates.

Full schema

View all columns and table relationships (SchemaSpy)

Status group

Yes, this table includes a statusgroup column. See Status Group for details.

Column details

ColumnType
idvarchar(36)
expiresontimestamp
clientidvarchar(36)
companyidvarchar(36)
statusvarchar(65535)
createdattimestamp
updatedattimestamp
startingbalancefloat8
currentbalancefloat8
creditbatchnamevarchar(256)
statusgroupvarchar(256)
statusgroupupdatedattimestamp

Column names and types come from the Redshift analytics schema. SchemaSpy is authoritative for nullability, defaults, keys, and relationships.

Sample query

select
  t.expireson,
  t.clientid,
  t.startingbalance,
  t.currentbalance,
  t.creditbatchname
from creditbatches as t
limit 100