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_historicaloffice_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 |
|
|
|||||
| history_user_id | int4 | 10 | √ | null |
|
|
|||||
| currency_id | int4 | 10 | √ | null |
|
|
|||||
| address | varchar | 255 | √ | null |
|
|
|||||
| varchar | 255 | √ | null |
|
|
||||||
| phone | varchar | 255 | √ | null |
|
|
|||||
| tax | float8 | 17,17 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicaloffice_pkey | Primary key | Asc | history_id |
| api_historicaloffice_company_id_2fc24464 | Performance | Asc | company_id |
| api_historicaloffice_currency_id_f0eefc1b | Performance | Asc | currency_id |
| api_historicaloffice_history_user_id_a16071ee | Performance | Asc | history_user_id |
| api_historicaloffice_id_6e96ca67 | Performance | Asc | id |
| api_historicaloffice_name_108ba65c | Performance | Asc | name |
| api_historicaloffice_name_108ba65c_like | Performance | Asc | name |