Skip to content

Commit 76f621f

Browse files
Merge pull request #484 from SquareTable/483-remove-comments-field-from-post-schemas
Remove comments field from post schemas
2 parents 708f55d + 3f42147 commit 76f621f

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

models/ImagePost.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const ImageSchema = new Schema({
88
upVotes: Array,
99
downVotes: Array,
1010
creatorId: mongoose.Schema.Types.ObjectId,
11-
comments: Array,
1211
datePosted: Number,
1312
allowScreenShots: Boolean,
1413
viewedBy: Array,

models/Poll.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const PollSchema = new Schema({
1818
optionSixesColor: String,
1919
totalNumberOfOptions: String,
2020
creatorId: mongoose.Schema.Types.ObjectId,
21-
comments: Array,
2221
datePosted: Number,
2322
allowScreenShots: Boolean,
2423
viewedBy: Array

models/Thread.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const Schema = mongoose.Schema;
33

44
const ThreadSchema = new Schema({
55
threadType: String,
6-
comments: Array,
76
creatorId: mongoose.Schema.Types.ObjectId,
87
threadTitle: String,
98
threadSubtitle: String,

0 commit comments

Comments
 (0)