get routes changed to query string
This commit is contained in:
@@ -20,6 +20,19 @@ const restaurantSchema = mongoose.Schema({
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
description: {
|
||||
type: String,
|
||||
},
|
||||
tags: {
|
||||
cardPayments: Boolean,
|
||||
petFriendly: Boolean,
|
||||
glutenFree: Boolean,
|
||||
vegan: Boolean,
|
||||
vegetarian: Boolean,
|
||||
alcohol: Boolean,
|
||||
delivery: Boolean,
|
||||
},
|
||||
phone: Number,
|
||||
hidden: Boolean,
|
||||
dishes: [mongoose.Types.ObjectId],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user