Added pages support

This commit is contained in:
Dobie Wollert
2015-03-19 08:13:10 -07:00
parent 0ca77dd9b6
commit a7d28727ed
3 changed files with 15 additions and 5 deletions

View File

@ -25,7 +25,8 @@ var Post = new Schema({
{ type: String }
],
status: { type: String },
tags: [{ type: String }]
tags: [{ type: String }],
pages: [{ type: String }]
});
var PostModel = mongoose.model('Post', Post);