diff options
Diffstat (limited to 'lib/models')
-rw-r--r-- | lib/models/note.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/models/note.js b/lib/models/note.js index 08ef083d..6efa5d4f 100644 --- a/lib/models/note.js +++ b/lib/models/note.js @@ -67,6 +67,7 @@ module.exports = function (sequelize, DataTypes) { type: DataTypes.DATE } }, { + paranoid: true, classMethods: { associate: function (models) { Note.belongsTo(models.User, { |