Skip to content

Commit

Permalink
Merge branch 'FIX/Nomenclatura_Horarios' into 'dev'
Browse files Browse the repository at this point in the history
FIX/@gabriel.moraes: Retirando um dos InstituicaoID a mais

See merge request !44
  • Loading branch information
Gian Carlo Lopez Luciano committed Nov 18, 2019
2 parents 089f17e + d1cdfc3 commit d75b239
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 31 deletions.
41 changes: 11 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/models/Horario.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = (sequelize, DataTypes) => {
});

Horario.associate = models => {
Horario.belongsTo(models.Instituicao, {foreignKey: 'InstituicaoID'});
Horario.belongsTo(models.Instituicao);
};

return Horario;
Expand Down

0 comments on commit d75b239

Please sign in to comment.