deletion reason and email for soft deleted forum posts and comments by admin

This commit is contained in:
jackiettran committed 2025-11-20 18:08:30 -05:00
1 parent b2f18d77f6
commit f7767dfd13
10 files changed
+911 -21

No files matched your search

+4
View File
@@ -55,6 +55,10 @@ const ForumComment = sequelize.define('ForumComment', {
deletedAt: {
type: DataTypes.DATE,
allowNull: true
},
deletionReason: {
type: DataTypes.TEXT,
allowNull: true
}
});
+4
View File
@@ -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,