Skip to main content

Table

registrationcodes

Each row represents a shareable code that grants access for a number of days with usage limits.

statusgroupRedshift
All tables

registrationcodes

Each row represents a shareable code that grants access for a number of days with usage limits.

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
companyidvarchar(36)
idvarchar(36)
createdattimestamp
updatedattimestamp
maxredemptionsint4
accessdaysint4
timesredeemedint4
codevarchar(65535)
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.maxredemptions,
  t.accessdays,
  t.timesredeemed,
  t.code,
  t.label
from registrationcodes as t
limit 100