Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('"StudentCounsellor_id_seq"'::regclass) |
|
|
||
| uuid | uuid | 2147483647 | null |
|
|
|||
| studentId | int4 | 10 | √ | null |
|
|
||
| counsellorId | int4 | 10 | √ | null |
|
|
||
| isDeleted | bool | 1 | √ | false |
|
|
||
| createdBy | int4 | 10 | null |
|
|
|||
| updatedBy | int4 | 10 | √ | null |
|
|
||
| createdAt | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
||
| updatedAt | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
||
| isRemoved | bool | 1 | √ | false |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| StudentCounsellor_pkey | Primary key | Asc | id |
| StudentCounsellor_uuid_key | Must be unique | Asc | uuid |
| unique_student_counsellor | Must be unique | Asc/Asc | studentId + counsellorId |
