I have a post backend and a comment backend and each have its own database. How should I define the schema for comment?const commentSchema = new Schema({ content: { type: String, }, author: { type: Number, }, date: { type: Date, } });
Submitted May 31, 2020 at 12:14AM by jesusscript
No comments:
Post a Comment