mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 16:34:33 +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
@ -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…
x
Reference in New Issue
Block a user