Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('"UserSection_id_seq"'::regclass) |
|
|
|||||
| uuid | uuid | 2147483647 | null |
|
|
||||||
| isDeleted | bool | 1 | √ | false |
|
|
|||||
| programTermId | int4 | 10 | √ | null |
|
|
|||||
| userId | int4 | 10 | √ | null |
|
|
|||||
| sectionId | int4 | 10 | √ | null |
|
|
|||||
| createdBy | int4 | 10 | null |
|
|
||||||
| updatedBy | int4 | 10 | √ | null |
|
|
|||||
| createdAt | timestamptz | 35,6 | √ | null |
|
|
|||||
| updatedAt | timestamptz | 35,6 | √ | null |
|
|
|||||
| googleCalanderSync | bool | 1 | √ | false |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| UserSection_pkey | Primary key | Asc | id |
| UserSection_id_idx | Performance | Asc | id |
| UserSection_uuid_idx | Performance | Asc | uuid |
| UserSection_uuid_key | Must be unique | Asc | uuid |
| UserSectionIsElective | Performance | Asc/Asc/Asc/Asc/Asc/Asc | id + uuid + isDeleted + sectionId + programTermId + userId |


