summaryrefslogtreecommitdiffstats
path: root/models/Show.js
blob: 23a96286ef7f23a9571f5df3c174a512f0c9506a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var mongoose = require('mongoose');

module.exports = mongoose.model('Show', {
    _id: { type: String, required: true, index: { unique: true } },
    imdb_id: String,
    tvdb_id: String,
    title: String,
    year: String,
    images: {},
    slug: String,
    synopsis: String,
    runtime: String,
    rating: {},
    genres: [],
    country: String,
    network: String,
    air_day: String,
    air_time: String,
    status: String,
    num_seasons: Number,
    episodes: [],
    last_updated: Number
});