Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | gen_random_uuid() |
|
|
||||||
| userCompanyId | uuid | 2147483647 | null |
|
|
||||||
| actionUserId | uuid | 2147483647 | √ | null |
|
|
|||||
| previousRole | enum_UserCompanies_role | 2147483647 | null |
|
|
||||||
| updatedRole | enum_UserCompanies_role | 2147483647 | null |
|
|
||||||
| createdAt | timestamptz | 35,6 | now() |
|
|
||||||
| updatedAt | timestamptz | 35,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| UserCompanyRoleLogs_pkey | Primary key | Asc | id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| previousRole_and_updatedRole_check | (("previousRole" <> "updatedRole")) |

