mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
fixed date on index page
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user