From 69cb15cf749dc81df94a57ef668490e2aedbe4ac Mon Sep 17 00:00:00 2001 From: sankarvema Date: Thu, 3 Mar 2016 15:13:10 +0530 Subject: [PATCH] Place facts added --- models/cityFacts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/models/cityFacts b/models/cityFacts index 0ee660e..1d2bf48 100644 --- a/models/cityFacts +++ b/models/cityFacts @@ -14,7 +14,11 @@ var cityFactSchema = new mongoose.Schema({ geospot: { coordinates: {type: "Number", index: '2dsphere'} }, places : [{ - + name: { type: String }, + desc: { type: String }, + imageLinks: [{ type: String }], + geospot: { coordinates: {type: "Number", index: '2dsphere'} }, + quickFacts: [{type: String }], }], quickFacts: [{type: String }],