You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
422 B
17 lines
422 B
const mongoose = require('mongoose');
|
|
|
|
const SS = new mongoose.Schema({
|
|
ssid: {type: String, unique: true},
|
|
owner: String,
|
|
start: String,
|
|
end: String,
|
|
anon: Boolean,
|
|
info: String,
|
|
notes: String,
|
|
members: [{name: String, id: String, info: String}],
|
|
started: Boolean,
|
|
spend: String,
|
|
assignments: [{name: String, assignedTo: String}]
|
|
});
|
|
|
|
module.exports = mongoose.model('ss', SS); |