Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | null |
|
|
||||||
| deleted | timestamptz | 35,6 | √ | null |
|
|
|||||
| code | varchar | 255 | null |
|
|
||||||
| symbol | varchar | 255 | null |
|
|
||||||
| name | varchar | 255 | null |
|
|
||||||
| format | varchar | 255 | null |
|
|
||||||
| exchange_rate | float8 | 17,17 | null |
|
|
||||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| updated_at | timestamptz | 35,6 | null |
|
|
||||||
| history_id | serial | 10 | √ | nextval('api_historicalcurrency_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 |
|
|
|||||
| exchange_id | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_historicalcurrency_pkey | Primary key | Asc | history_id |
| api_historicalcurrency_exchange_id_c594704e | Performance | Asc | exchange_id |
| api_historicalcurrency_history_user_id_caf3c722 | Performance | Asc | history_user_id |
| api_historicalcurrency_id_acb28da3 | Performance | Asc | id |
| api_historicalcurrency_office_id_fe9e283d | Performance | Asc | office_id |