Fix typo
This commit is contained in:
parent
b5d3570b1a
commit
44fd0a617b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||
}, {
|
||||
classMethods: {
|
||||
associate: function (models) {
|
||||
Revision.belongsTo(models.User, {
|
||||
Revision.belongsTo(models.Note, {
|
||||
foreignKey: "noteId",
|
||||
as: "note",
|
||||
constraints: false
|
||||
|
|
Loading…
Reference in a new issue