Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| note | text | 2147483647 | √ | null |
|
|
|||||
| hour | timestamptz | 35,6 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicalclientbinnacle_history_id_seq'::regclass) |
|
|
|||||
| history_date | timestamptz | 35,6 | null |
|
|
||||||
| history_change_reason | varchar | 100 | √ | null |
|
|
|||||
| history_type | varchar | 1 | null |
|
|
||||||
| company_id | int4 | 10 | √ | null |
|
|
|||||
| employee_id | int4 | 10 | √ | null |
|
|
|||||
| history_user_id | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicalclientbinnacle_pkey | Primary key | Asc | history_id |
| api_historicalclientbinnacle_company_id_a19e063b | Performance | Asc | company_id |
| api_historicalclientbinnacle_employee_id_f79a3016 | Performance | Asc | employee_id |
| api_historicalclientbinnacle_history_user_id_2976c0d4 | Performance | Asc | history_user_id |
| api_historicalclientbinnacle_id_5f2ecfb9 | Performance | Asc | id |