Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
code | varchar | 255 | null |
|
|
The code of the Redemption Code |
||||
id | uuid | 2147483647 | null |
|
|
Unique Identifier of the Redemption Code |
||||
createdAt | timestamp | 29,6 | √ | null |
|
|
The date and time the Redemption Code was created |
|||
companyId | uuid | 2147483647 | null |
|
|
The ID of the learning site |
||||
redeemedByUserId | uuid | 2147483647 | √ | null |
|
|
The ID of the Redeemed By User associated with the Redemption Code |
|||
redemptionCodeGroupId | uuid | 2147483647 | √ | null |
|
|
The ID of the Redemption Code Group associated with the Redemption Code |
|||
redeemed | bool | 1 | false |
|
|
Indicates if the Redemption Code has been redeemed |
||||
redeemedAt | timestamp | 29,6 | √ | null |
|
|
The date and time the Redemption Code was created |
Table contained 0 rows
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
redemptionCodes_pkey | Primary key | Asc | id |
redemptionCodes_redemptionCodeGroupId_idx | Performance | Asc | redemptionCodeGroupId |