diff --git a/src/libs/routes/enrollment.js b/src/libs/routes/enrollment.js index e27a03aacd3c18205d6ecb628d681691bfaea2f3..a52451d7ef423a907494eb4f3963b43c277e1ace 100644 --- a/src/libs/routes/enrollment.js +++ b/src/libs/routes/enrollment.js @@ -163,7 +163,7 @@ rqf.addField({ }, join: { primary: 'id', - foreign: 'escola_estado_id', + foreign: 'estado_id', foreignTable: 'matricula' } }).addValue({ @@ -178,7 +178,7 @@ rqf.addField({ }, join: { primary: 'id', - foreign: 'escola_municipio_id', + foreign: 'municipio_id', foreignTable: 'matricula' } }).addValue({