Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const todoSchema = new mongoose.Schema({
- description: { type: String, require: true },
- done: { type: Boolean, require: true },
- createdAt: { type: Date }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement