aboutsummaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/todo.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/todo.js b/app/models/todo.js
new file mode 100644
index 0000000..02f4088
--- /dev/null
+++ b/app/models/todo.js
@@ -0,0 +1,8 @@
+var mongoose = require('mongoose');
+
+module.exports = mongoose.model('todoCollect', {
+ text: {
+ type: String,
+ default: ''
+ }
+}); \ No newline at end of file