Updating the welcome text with spelling and default dates for the brew models
This commit is contained in:
1 parent
e9a28f92fe
commit
7145a42cef
2 files changed
+10
-5
No files matched your search
@@ -8,8 +8,8 @@ var HomebrewSchema = mongoose.Schema({
|
||||
text : {type : String, default : ""},
|
||||
|
||||
createdAt : { type: Date, default: Date.now },
|
||||
updatedAt : { type: Date},
|
||||
lastViewed : { type: Date},
|
||||
updatedAt : { type: Date, default: Date.now},
|
||||
lastViewed : { type: Date, default: Date.now},
|
||||
views : {type:Number, default:0}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user