Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | √ | null |
|
|
|||||
| anio | int2 | 5 | √ | null |
|
|
|||||
| trimestre | int2 | 5 | √ | null |
|
|
|||||
| fuerza_laboral | int4 | 10 | √ | null |
|
|
|||||
| ingreso_mensual | numeric | 30,15 | √ | null |
|
|
|||||
| ingreso_pasado | numeric | 30,15 | √ | null |
|
|
|||||
| salario | numeric | 30,15 | √ | GREATEST(ingreso_mensual, ingreso_pasado) |
|
|
|||||
| volumen | numeric | 30,15 | √ | (GREATEST(ingreso_mensual, ingreso_pasado) * (fuerza_laboral)::numeric) |
|
|
|||||
| salario_pareja | numeric | 30,15 | √ | (GREATEST(ingreso_mensual, ingreso_pasado) * 1.69) |
|
|
|||||
| entidad_id | int2 | 5 | √ | null |
|
|
|||||
| municipio_id | int2 | 5 | √ | null |
|
|
|||||
| ocupacion_id | int4 | 10 | √ | null |
|
|
|||||
| tiempo_creado | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| tiempo_actualizado | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| row_hash | bytea | 2147483647 | √ | custom_hash_row(ARRAY[COALESCE((ocupacion_id)::text, ''::text), COALESCE((municipio_id)::text, ''::text), COALESCE((entidad_id)::text, ''::text), COALESCE((anio)::text, ''::text), COALESCE((trimestre)::text, ''::text)]) |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| fuerza_laboral_pkey | Primary key | Asc | id |
| uq_fuerza_laboral__row_hash | Must be unique | Asc | row_hash |

