Does not work: uploading images
Adding/Editing/Deleting works SeasonsSelect works Nice recipe layout
This commit is contained in:
@ -16,16 +16,17 @@ const RecipeSchema = new mongoose.Schema(
|
||||
description: {type: String, required: true},
|
||||
tags : [String],
|
||||
season : [Number],
|
||||
baking: { temperature: String,
|
||||
length: String,
|
||||
mode: String,
|
||||
baking: { temperature: {type:String, default: ""},
|
||||
length: {type:String, default: ""},
|
||||
mode: {type:String, default: ""},
|
||||
},
|
||||
preparation : String,
|
||||
fermentation: {bulk: String,
|
||||
final: String,
|
||||
preparation : {type:String, default: ""},
|
||||
fermentation: { bulk: {type:String, default: ""},
|
||||
final: {type:String, default: ""},
|
||||
|
||||
},
|
||||
portions : String,
|
||||
total_time : String,
|
||||
portions :{type:String, default: ""},
|
||||
total_time : {type:String, default: ""},
|
||||
ingredients : [ { name: {type: String, default: ""},
|
||||
list: [{name: {type: String, default: ""},
|
||||
unit: String,
|
||||
@ -34,6 +35,7 @@ const RecipeSchema = new mongoose.Schema(
|
||||
}],
|
||||
instructions : [{name: {type: String, default: ""},
|
||||
steps: [String]}],
|
||||
preamble : String,
|
||||
addendum : String,
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user