mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 11:43:59 -05:00
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: {
|
classMethods: {
|
||||||
associate: function (models) {
|
associate: function (models) {
|
||||||
Revision.belongsTo(models.User, {
|
Revision.belongsTo(models.Note, {
|
||||||
foreignKey: "noteId",
|
foreignKey: "noteId",
|
||||||
as: "note",
|
as: "note",
|
||||||
constraints: false
|
constraints: false
|
||||||
|
|
Loading…
Reference in a new issue