0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-25 01:58:11 +00:00

Add thumbnail to metadata and saving functions

This commit is contained in:
G.Ambatte
2021-10-28 00:29:42 +13:00
parent 3ce1ea610d
commit 20d7193fb2
4 changed files with 20 additions and 7 deletions

View File

@@ -17,6 +17,7 @@ const HomebrewSchema = mongoose.Schema({
renderer : { type: String, default: '' },
authors : [String],
published : { type: Boolean, default: false },
thumbnail : [String],
createdAt : { type: Date, default: Date.now },
updatedAt : { type: Date, default: Date.now },