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_historicaldivision_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 |
|
|
|||||
| office_id | int4 | 10 | √ | null |
|
|
|||||
| type_division_id | int4 | 10 | √ | null |
|
|
|||||
| crew_id | int4 | 10 | √ | null |
|
|
|||||
| schedule | varchar | 255 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicaldivision_pkey | Primary key | Asc | history_id |
| api_historicaldivision_crew_id_616c3d91 | Performance | Asc | crew_id |
| api_historicaldivision_history_user_id_28a5a74a | Performance | Asc | history_user_id |
| api_historicaldivision_id_5c64724e | Performance | Asc | id |
| api_historicaldivision_name_2f41bc45 | Performance | Asc | name |
| api_historicaldivision_name_2f41bc45_like | Performance | Asc | name |
| api_historicaldivision_office_id_a206d2cd | Performance | Asc | office_id |
| api_historicaldivision_type_division_id_70079fca | Performance | Asc | type_division_id |