1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

fixed date on index page

This commit is contained in:
2016-01-07 00:17:21 -06:00
parent 96a8c8eb80
commit e5a2dd7360
2 changed files with 1 additions and 16 deletions

View File

@@ -1,13 +0,0 @@
var mongoose = require('mongoose');
var postsSchema = new mongoose.Schema({
title: String,
date: String,
intro: String,
path: String,
fileName: String,
updated: {type: Date, default: Date.now}
});
mongoose.model('posts', postsSchema);