You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
302 B

const mongoose = require("mongoose");
module.exports = mongoose.model(
"Movie",
new mongoose.Schema({
movieId: { type: String, required: true, unique: true },
title: { type: String, required: true },
overview: { type: String },
release: { type: String },
poster: { type: String },
}),
);