Add CAM tagging to movies
Store a CAM flag in the movie model and expose it via the admin add/edit flow, then render a CAM badge on movie posters in the films page.
This commit is contained in:
@@ -6,6 +6,7 @@ const movieSchema = new mongoose.Schema({
|
||||
description: { type: String, required: false },
|
||||
rating: { type: String, required: false },
|
||||
poster: { type: String, required: false },
|
||||
cam: { type: Boolean, required: false, default: false },
|
||||
// Oscar pool year / edition (used to segment movies + stats)
|
||||
year: { type: Number, required: false, index: true },
|
||||
category: { type: String, required: true },
|
||||
|
||||
Reference in New Issue
Block a user