server 1.0.3
This commit is contained in:
@@ -39,6 +39,8 @@ const dishSchema = mongoose.Schema({
|
||||
ingredients: {
|
||||
type: [String],
|
||||
},
|
||||
glicemicIndex: String,
|
||||
kCal: String,
|
||||
vegan: Boolean,
|
||||
vegetarian: Boolean,
|
||||
});
|
||||
|
||||
@@ -50,11 +50,10 @@ const restaurantSchema = mongoose.Schema({
|
||||
},
|
||||
links: {
|
||||
facebook: String,
|
||||
twitter: String,
|
||||
instagram: String,
|
||||
www: String,
|
||||
},
|
||||
phone: Number,
|
||||
phone: String,
|
||||
hidden: Boolean,
|
||||
subscriptionActive: Boolean,
|
||||
subscriptionStarted: Date,
|
||||
|
||||
@@ -38,7 +38,6 @@ const userSchema = mongoose.Schema({
|
||||
},
|
||||
},
|
||||
restaurants: [mongoose.Types.ObjectId],
|
||||
trialUsed: Boolean,
|
||||
});
|
||||
|
||||
export default mongoose.model("User", userSchema);
|
||||
|
||||
Reference in New Issue
Block a user