node-raspberry-server/statusSchema.js

9 lines
199 B
JavaScript
Raw Normal View History

2019-01-12 13:17:52 +01:00
const mongoose = require("mongoose");
const statusSchema = new mongoose.Schema(
{
status: [String]
},
{ timestamps: true }
);
module.exports = mongoose.model("statusSchema", statusSchema);