Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | public.gen_random_uuid() |
|
|
Primary Key. |
|||||
| userScore | int4 | 10 | √ | null |
|
|
Score of this entity if this entity is a user. |
||||
| companyScore | int4 | 10 | √ | null |
|
|
Score of this entity if this entity is a company. |
||||
| UserId | uuid | 2147483647 | √ | null |
|
|
Foreign Key to User Table. |
||||
| CompanyId | uuid | 2147483647 | √ | null |
|
|
Foreign Key to Company Table. |
||||
| createdAt | timestamptz | 35,6 | null |
|
|
Entry creation date |
|||||
| updatedAt | timestamptz | 35,6 | null |
|
|
Datetime of last modification to any attribute |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| Scores_pkey | Primary key | Asc | id |
| Scores_CompanyId_idx | Performance | Asc | CompanyId |
| Scores_UserId_idx | Performance | Asc | UserId |

