Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | serial | 10 | √ | nextval('api_appeal_id_seq'::regclass) |
|
|
||||||||||
aid | varchar | 20 | null |
|
|
|||||||||||
name | varchar | 100 | null |
|
|
|||||||||||
atype | int4 | 10 | null |
|
|
|||||||||||
status | int4 | 10 | null |
|
|
|||||||||||
code | varchar | 20 | √ | null |
|
|
||||||||||
sector | varchar | 100 | null |
|
|
|||||||||||
num_beneficiaries | int4 | 10 | null |
|
|
|||||||||||
amount_requested | float8 | 17,17 | null |
|
|
|||||||||||
amount_funded | float8 | 17,17 | null |
|
|
|||||||||||
start_date | timestamptz | 35,6 | √ | null |
|
|
||||||||||
end_date | timestamptz | 35,6 | √ | null |
|
|
||||||||||
created_at | timestamptz | 35,6 | null |
|
|
|||||||||||
modified_at | timestamptz | 35,6 | null |
|
|
|||||||||||
country_id | int4 | 10 | null |
|
|
|||||||||||
dtype_id | int4 | 10 | √ | null |
|
|
||||||||||
event_id | int4 | 10 | √ | null |
|
|
||||||||||
region_id | int4 | 10 | √ | null |
|
|
||||||||||
needs_confirmation | bool | 1 | null |
|
|
|||||||||||
previous_update | timestamptz | 35,6 | √ | null |
|
|
||||||||||
real_data_update | timestamptz | 35,6 | √ | null |
|
|
||||||||||
name_ar | varchar | 100 | √ | null |
|
|
||||||||||
name_en | varchar | 100 | √ | null |
|
|
||||||||||
name_es | varchar | 100 | √ | null |
|
|
||||||||||
name_fr | varchar | 100 | √ | null |
|
|
||||||||||
triggering_amount | numeric | 12,2 | null |
|
|
|||||||||||
translation_module_original_language | varchar | 2 | null |
|
|
|||||||||||
translation_module_skip_auto_translation | bool | 1 | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
api_appeal_pkey | Primary key | Asc | id |
api_appeal_code_1f62030f_like | Performance | Asc | code |
api_appeal_code_1f62030f_uniq | Must be unique | Asc | code |
api_appeal_country_id_914a0751 | Performance | Asc | country_id |
api_appeal_dtype_id_74019430 | Performance | Asc | dtype_id |
api_appeal_event_id_97067607 | Performance | Asc | event_id |
api_appeal_region_id_2119ea34 | Performance | Asc | region_id |