0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 17:52:38 +00:00

Updating the welcome text with spelling and default dates for the brew models

This commit is contained in:
Scott Tolksdorf
2016-01-12 11:50:12 -05:00
parent e9a28f92fe
commit 7145a42cef
2 changed files with 10 additions and 5 deletions

View File

@@ -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}
});