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
| Column | Type |
|---|---|
id | varchar(36) |
createdat | timestamp |
updatedat | timestamp |
redeemedcodescount | int4 |
totalcodescount | int4 |
companyid | varchar(36) |
label | varchar(65535) |
statusgroup | varchar(256) |
statusgroupupdatedat | timestamp |
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