const PostSchema = new mongoose.Schema(
{
userName: {
type: String,
required: [true, "userName必填"],
},
userPhoto: String,
postContent: {
type: String,
required: [true, "postContent必填"],
},
postImgUrl: String,
},
{
versionKey:false,
timestamps:true
}
)-
Notifications
You must be signed in to change notification settings - Fork 0
EmptyWu/W2BackEnd
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published