aboutsummaryrefslogtreecommitdiff
path: root/app/models/todo.js
diff options
context:
space:
mode:
authorKumar Damani <kumar.damani@mail.utoronto.ca>2016-08-03 18:30:06 +0000
committerKumar Damani <kumar.damani@mail.utoronto.ca>2016-08-03 18:30:06 +0000
commitf383a85f8ed569821ea0e929139dcd68c5541519 (patch)
treee21ca3c635e0bf6aaa124a7954451a09237121c4 /app/models/todo.js
all files
Diffstat (limited to 'app/models/todo.js')
-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