part 12 done
This commit is contained in:
1 parent
0a7a469d56
commit
33a5afd017
426 files changed
+46304
-5
No files matched your search
+8
@@ -0,0 +1,8 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const todoSchema = new mongoose.Schema({
|
||||
text: String,
|
||||
done: Boolean
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('Todo', todoSchema)
|
||||
Reference in new issue
Block a user