Skip to content

Commit

Permalink
feat: qualifications plural
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeen committed Jan 4, 2022
1 parent 736728e commit 67e3567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/units/units.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Unit extends Model {
// https://gist.github.com/elliette/20ddc4e827efd9d62bc98752e7a62610#some-important-addendums
Unit.belongsToMany(Qualification, {
through: 'qualification_unit',
as: 'qualification',
as: 'qualifications',
});
}

Expand Down

0 comments on commit 67e3567

Please sign in to comment.