deletion reason and email for soft deleted forum posts and comments by admin
This commit is contained in:
1 parent
b2f18d77f6
commit
f7767dfd13
10 files changed
+911
-21
No files matched your search
@@ -55,6 +55,10 @@ const ForumComment = sequelize.define('ForumComment', {
|
||||
deletedAt: {
|
||||
type: DataTypes.DATE,
|
||||
allowNull: true
|
||||
},
|
||||
deletionReason: {
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: true
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -85,6 +85,10 @@ const ForumPost = sequelize.define('ForumPost', {
|
||||
type: DataTypes.DATE,
|
||||
allowNull: true
|
||||
},
|
||||
deletionReason: {
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: true
|
||||
},
|
||||
closedBy: {
|
||||
type: DataTypes.UUID,
|
||||
allowNull: true,
|
||||
|
||||
Reference in new issue
Block a user