Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create a schema
- var TodoSchema = new mongoose.Schema({
- name: String,
- completed: Boolean,
- note: String,
- updated_at: { type: Date, default: Date.now },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement