Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('okr.smart_hr_departments_id_seq'::regclass) |
|
|
||||
| organization_id | int8 | 19 | null |
|
|
|||||
| smart_hr_department_id | text | 2147483647 | null |
|
|
|||||
| group_id | int8 | 19 | √ | null |
|
|
||||
| name | varchar | 255 | null |
|
|
|||||
| disabled_at | timestamptz | 35,6 | √ | null |
|
|
||||
| created_at | timestamptz | 35,6 | null |
|
|
|||||
| updated_at | timestamptz | 35,6 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| smart_hr_departments_pkey | Primary key | Asc | id |
| idx_smart_hr_departments_on_group_id | Must be unique | Asc | group_id |
| idx_smart_hr_departments_on_organization_id | Performance | Asc | organization_id |
| idx_smart_hr_departments_on_smart_hr_department_id | Must be unique | Asc | smart_hr_department_id |