can add images to forum posts and comments

This commit is contained in:
jackiettran
2025-11-11 23:32:03 -05:00
parent b045fbeb01
commit 105f257c5f
13 changed files with 383 additions and 78 deletions

View File

@@ -51,6 +51,11 @@ const ForumPost = sequelize.define('ForumPost', {
model: 'ForumComments',
key: 'id'
}
},
images: {
type: DataTypes.ARRAY(DataTypes.TEXT),
allowNull: true,
defaultValue: []
}
});