Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('api_currency_id_seq'::regclass) |
|
|
||||||||||||||||||||
| 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 |
|
|
|||||||||||||||||||||
| office_id | int4 | 10 | √ | null |
|
|
||||||||||||||||||||
| exchange_id | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| api_currency_pkey | Primary key | Asc | id |
| api_currency_code_symbol_name_office_id_7cd2c823_uniq | Must be unique | Asc/Asc/Asc/Asc | code + symbol + name + office_id |
| api_currency_exchange_id_37ceb616 | Performance | Asc | exchange_id |
| api_currency_office_id_a29f3933 | Performance | Asc | office_id |