Skip to content
Snippets Groups Projects
Commit 8377d1f1 authored by Edu Trevisan's avatar Edu Trevisan
Browse files

Add geographic data to some tables

parent 9b28415b
No related branches found
No related tags found
2 merge requests!28Development,!19Add geographic data to some tables
...@@ -105,6 +105,29 @@ rqf.addField({ ...@@ -105,6 +105,29 @@ rqf.addField({
}, },
}) })
.addValue({
name: 'uf',
table: 'african_culture_ag',
tableField: 'sigla_estado',
resultField: 'uf',
where: {
relation: '=',
type: 'string',
field: 'sigla_estado',
},
})
.addValue({
name: 'region',
table: 'african_culture_ag',
tableField : 'nome_regiao',
resultField: 'region',
where: {
relation: '=',
type: 'string',
field: 'nome_regiao',
},
})
; ;
......
...@@ -105,7 +105,28 @@ rqf.addField({ ...@@ -105,7 +105,28 @@ rqf.addField({
}, },
}) })
.addValue({
name: 'uf',
table: 'african_rights_ag',
tableField: 'sigla_estado',
resultField: 'uf',
where: {
relation: '=',
type: 'string',
field: 'sigla_estado',
},
})
.addValue({
name: 'region',
table: 'african_rights_ag',
tableField : 'nome_regiao',
resultField: 'region',
where: {
relation: '=',
type: 'string',
field: 'nome_regiao',
},
})
; ;
......
...@@ -81,6 +81,28 @@ rqf.addField({ ...@@ -81,6 +81,28 @@ rqf.addField({
}, },
}) })
.addValue({
name: 'uf',
table: 'african_sustentability_ag',
tableField: 'sigla_estado',
resultField: 'uf',
where: {
relation: '=',
type: 'string',
field: 'sigla_estado',
},
})
.addValue({
name: 'region',
table: 'african_sustentability_ag',
tableField : 'nome_regiao',
resultField: 'region',
where: {
relation: '=',
type: 'string',
field: 'nome_regiao',
},
})
; ;
......
...@@ -105,6 +105,29 @@ rqf.addField({ ...@@ -105,6 +105,29 @@ rqf.addField({
}, },
}) })
.addValue({
name: 'uf',
table: 'ciganos_culture_ag',
tableField: 'sigla_estado',
resultField: 'uf',
where: {
relation: '=',
type: 'string',
field: 'sigla_estado',
},
})
.addValue({
name: 'region',
table: 'ciganos_culture_ag',
tableField : 'nome_regiao',
resultField: 'region',
where: {
relation: '=',
type: 'string',
field: 'nome_regiao',
},
})
; ;
......
...@@ -105,7 +105,28 @@ rqf.addField({ ...@@ -105,7 +105,28 @@ rqf.addField({
}, },
}) })
.addValue({
name: 'uf',
table: 'ciganos_rights_ag',
tableField: 'sigla_estado',
resultField: 'uf',
where: {
relation: '=',
type: 'string',
field: 'sigla_estado',
},
})
.addValue({
name: 'region',
table: 'ciganos_rights_ag',
tableField : 'nome_regiao',
resultField: 'region',
where: {
relation: '=',
type: 'string',
field: 'nome_regiao',
},
})
; ;
......
...@@ -81,6 +81,28 @@ rqf.addField({ ...@@ -81,6 +81,28 @@ rqf.addField({
}, },
}) })
.addValue({
name: 'uf',
table: 'ciganos_sustentability_ag',
tableField: 'sigla_estado',
resultField: 'uf',
where: {
relation: '=',
type: 'string',
field: 'sigla_estado',
},
})
.addValue({
name: 'region',
table: 'ciganos_sustentability_ag',
tableField : 'nome_regiao',
resultField: 'region',
where: {
relation: '=',
type: 'string',
field: 'nome_regiao',
},
})
; ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment