diff options
| author | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2016-08-03 18:30:06 +0000 |
|---|---|---|
| committer | Kumar Damani <kumar.damani@mail.utoronto.ca> | 2016-08-03 18:30:06 +0000 |
| commit | f383a85f8ed569821ea0e929139dcd68c5541519 (patch) | |
| tree | e21ca3c635e0bf6aaa124a7954451a09237121c4 /app/models | |
all files
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/todo.js | 8 |
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 |
