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

@@ -26,5 +26,19 @@ var callSchema = mongoose.Schema({
});
var frozenCallSchema = mongoose.Schema();
frozenCallSchema.add(callSchema).add({
systemName: String,
systemDescription: String,
talkgroupDescription: String,
talkgroupAlpha: String,
});
exports.frozenCallSchema = frozenCallSchema;
exports.frozenCallModel = mongoose.model('FrozenCall', frozenCallSchema);
exports.callSchema = callSchema;
exports.callModel = mongoose.model('Call', callSchema);