Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | public.gen_random_uuid() |
|
|
Primary key. |
|||||
| word | text | 2147483647 | null |
|
|
The blacklisted word itself. |
|||||
| createdAt | timestamptz | 35,6 | now() |
|
|
Time of creation. |
|||||
| updatedAt | timestamptz | 35,6 | now() |
|
|
Time of last update. |
|||||
| type | enum_BlackListedWords_type | 2147483647 | 'BLOCKED'::"enum_BlackListedWords_type" |
|
|
The blacklisted word type. |
|||||
| CreatorId | uuid | 2147483647 | √ | null |
|
|
Foreign Key to Users table, creator of the blacklisted word. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| BlackListedWords_pkey | Primary key | Asc | id |
| BlackListedWords_type_createdAt_idx | Performance | Asc/Desc | type + createdAt |
| BlackListedWords_type_word_unique | Must be unique | Asc/Asc | type + word |
| BlackListedWords_word_gin_idx | Performance | Asc | word |

