Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| name | varchar | 255 | null |
|
|
||||||
| description | text | 2147483647 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicalemployee_history_id_seq'::regclass) |
|
|
|||||
| history_date | timestamptz | 35,6 | null |
|
|
||||||
| history_change_reason | varchar | 100 | √ | null |
|
|
|||||
| history_type | varchar | 1 | null |
|
|
||||||
| history_user_id | int4 | 10 | √ | null |
|
|
|||||
| position_id | int4 | 10 | √ | null |
|
|
|||||
| user_id | int4 | 10 | √ | null |
|
|
|||||
| employee_number | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicalemployee_pkey | Primary key | Asc | history_id |
| api_historicalemployee_employee_number_95d9fc4d | Performance | Asc | employee_number |
| api_historicalemployee_history_user_id_4349d28f | Performance | Asc | history_user_id |
| api_historicalemployee_id_4479bf46 | Performance | Asc | id |
| api_historicalemployee_name_921d5aa7 | Performance | Asc | name |
| api_historicalemployee_name_921d5aa7_like | Performance | Asc | name |
| api_historicalemployee_position_id_291e8519 | Performance | Asc | position_id |
| api_historicalemployee_user_id_b5e4554a | Performance | Asc | user_id |