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:
Mathieu Moran
2026-01-22 14:26:43 -05:00
parent d10164076c
commit b00280e9e4
6 changed files with 40 additions and 10 deletions
+1
View File
@@ -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 },