mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Update to support delete note
This commit is contained in:
parent
68457ed3a2
commit
12d5ed43a7
5 changed files with 77 additions and 1 deletions
|
@ -67,6 +67,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||
type: DataTypes.DATE
|
||||
}
|
||||
}, {
|
||||
paranoid: true,
|
||||
classMethods: {
|
||||
associate: function (models) {
|
||||
Note.belongsTo(models.User, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue