Basic Podcast is working

This commit is contained in:
Luke Berndt
2023-02-23 23:18:59 -05:00
parent b07d308719
commit 9d732b4d87
4 changed files with 187 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
var mongoose = require('mongoose');
var {callSchema} = require('./call');
console.log(callSchema)
var {frozenCallSchema} = require('./call');
var eventSchema = mongoose.Schema({
title: String,
@@ -10,7 +10,7 @@ var eventSchema = mongoose.Schema({
endTime: Date,
downloadUrl: String,
shortNames: [String],
calls: [callSchema],
calls: [frozenCallSchema],
numCalls: Number
},
{