Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | gen_random_uuid() |
|
|
Primary Key. |
|||||
| reportedBy | enum_BlackListedContents_reportedBy | 2147483647 | null |
|
|
Reported by user or system. |
|||||
| ContentId | uuid | 2147483647 | null |
|
|
Foreign key, reference to gcud.“Contents”. |
|||||
| ReporterId | uuid | 2147483647 | √ | null |
|
|
Foreign key, reference to “Users” table, the user who reported the content. |
||||
| createdAt | timestamptz | 35,6 | now() |
|
|
||||||
| updatedAt | timestamptz | 35,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| BlackListedContents_pkey | Primary key | Asc | id |
| gcud_BlackListedContents_ContentId_idx | Performance | Asc | ContentId |
| gcud_BlackListedContents_createdAt_idx | Performance | Asc | createdAt |
| gcud_BlackListedContents_reportedBy_idx | Performance | Asc | reportedBy |

