mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 17:27:37 -05:00
serving podcasts
This commit is contained in:
21
backend/models/podcast.js
Normal file
21
backend/models/podcast.js
Normal file
@@ -0,0 +1,21 @@
|
||||
var mongoose = require('mongoose');
|
||||
|
||||
|
||||
|
||||
var podcastSchema = mongoose.Schema({
|
||||
title: String,
|
||||
description: String,
|
||||
expireTime: Date,
|
||||
startTime: Date,
|
||||
endTime: Date,
|
||||
downloadUrl: String,
|
||||
systems: [String],
|
||||
numCalls: Number,
|
||||
len: Number
|
||||
},
|
||||
{
|
||||
timestamps: true
|
||||
});
|
||||
|
||||
|
||||
module.exports = mongoose.model('Podcast', podcastSchema);
|
||||
Reference in New Issue
Block a user