"...switch-room/src/git@git.cs.vt.edu:fz2907/switchroom.git" did not exist on "42481452c4f896418a88329c7906fd59f02b1d33"
Newer
Older
const mongoose = require('mongoose');
const courseSchema = new mongoose.Schema({
name: {
type: String,
required: true
},
term: {
type: String,
required: true
}
}, {
timestamps: true
});
module.exports = mongoose.model('Course', courseSchema);