Skip to content

Commit 98e1750

Browse files
committed
Remove unique from post.content
1 parent 260121a commit 98e1750

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/models/Post.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ let PostSchema: Schema = new Schema({
2121
content: {
2222
type: String,
2323
default: '',
24-
required: true,
25-
unique: true
24+
required: true
2625
},
2726
featuredImage: {
2827
type: String,

0 commit comments

Comments
 (0)