Skip to content
Snippets Groups Projects
Commit f5c291cd authored by Bilel El Yaagoubi's avatar Bilel El Yaagoubi
Browse files

good types

parent 55c286e4
No related branches found
No related tags found
1 merge request!7Populate and db structure
Pipeline #42478 passed
......@@ -9,12 +9,12 @@ const MovieSchema = new mongoose.Schema(
original_language: { type: String },
original_title: { type: String },
overview: { type: String },
popularity: { type: String },
popularity: { type: Number },
poster_path: { type: String },
release_date: { type: String },
release_date: { type: Date },
title: { type: String },
video: { type: Boolean },
vote_average: { type: String },
vote_average: { type: Number },
vote_count: { type: Number },
},
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment