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:
Sheogorath 2018-05-25 14:50:31 +02:00
parent 41a36e2e18
commit 8aa5c03213
No known key found for this signature in database
GPG key ID: 1F05CC3635CDDFFD

View file

@ -85,7 +85,7 @@ module.exports = function (sequelize, DataTypes) {
type: DataTypes.DATE
}
}, {
paranoid: true,
paranoid: false,
classMethods: {
associate: function (models) {
Note.belongsTo(models.User, {