mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 18:32:50 +00:00
Added file upload and dynamic blog post pages on index
This commit is contained in:
@@ -2,9 +2,10 @@ var mongoose = require('mongoose');
|
||||
|
||||
var postsSchema = new mongoose.Schema({
|
||||
title: String,
|
||||
date: Date,
|
||||
date: String,
|
||||
intro: String,
|
||||
file: String,
|
||||
path: String,
|
||||
fileName: String,
|
||||
updated: {type: Date, default: Date.now}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user