All files / server/models todo.js

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 124x 4x   4x             4x  
const mongoose = require('mongoose')
const Schema = mongoose.Schema
 
const todoSchema = new Schema({
  'todoTime': String,
  'todoState': String,
  'todoDetail': String,
  'userId': String
})
 
module.exports = mongoose.model('Todo', todoSchema)