Skip to main content

Table

redemptioncodegroups

Each row represents a batch of redemption codes with labels and counts of issued vs redeemed.

statusgroupRedshift
All tables

redemptioncodegroups

Each row represents a batch of redemption codes with labels and counts of issued vs redeemed.

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)
createdattimestamp
updatedattimestamp
redeemedcodescountint4
totalcodescountint4
companyidvarchar(36)
labelvarchar(65535)
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.redeemedcodescount,
  t.totalcodescount,
  t.label
from redemptioncodegroups as t
limit 100