Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| NotificationId | uuid | 2147483647 | null |
|
|
||||||
| expertClassId | uuid | 2147483647 | null |
|
|
||||||
| matchingExpertUserId | uuid | 2147483647 | √ | null |
|
|
|||||
| matchingCategoryId | uuid | 2147483647 | √ | null |
|
|
|||||
| daysBeforeClassStart | int4 | 10 | null |
|
|
||||||
| createdAt | timestamptz | 35,6 | now() |
|
|
||||||
| updatedAt | timestamptz | 35,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PreviousLearnerPromotionNotifications_pkey | Primary key | Asc | NotificationId |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| PreviousLearnerPromotionNotification_daysBeforeClassStart_check | ((("daysBeforeClassStart" = 2) OR ("daysBeforeClassStart" = 4) OR ("daysBeforeClassStart" = 8))) |
| expert_class_PreviousLearnerPromotionNotifications_matchingExpe | (((("matchingExpertUserId" = NULL::uuid) AND ("matchingCategoryId" IS NOT NULL)) OR (("matchingCategoryId" = NULL::uuid) AND ("matchingExpertUserId" IS NOT NULL)))) |

