mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 22:51:59 +00:00
Use hard delete instead of soft delete
Right now we only flag notes as deleted. This is no longer allowed under GDPR. Make sure you do regular backups! Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
41a36e2e18
commit
8aa5c03213
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||
type: DataTypes.DATE
|
||||
}
|
||||
}, {
|
||||
paranoid: true,
|
||||
paranoid: false,
|
||||
classMethods: {
|
||||
associate: function (models) {
|
||||
Note.belongsTo(models.User, {
|
||||
|
|
Loading…
Reference in a new issue