Skip to content

Commit

Permalink
unqiue moveez plz
Browse files Browse the repository at this point in the history
  • Loading branch information
Karan Goel committed Nov 14, 2014
1 parent 229ae18 commit 98a4300
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion models/user_likes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ var userLikesSchema = new Schema({
fb_id: String, // fb id of a user
name: String,
photo: String,
movie_likes: [String] // tmdb id's of movies liked by user
movie_likes: [{
type: String,
unique: true
}] // tmdb id's of movies liked by user
});


Expand Down

0 comments on commit 98a4300

Please sign in to comment.