Typo fix
This commit is contained in:
parent
13df1ef4a1
commit
f4642ec398
|
@ -18,7 +18,7 @@ var s = new Schema('redis');
|
||||||
var Post = schema.define('Post', {
|
var Post = schema.define('Post', {
|
||||||
title: { type: String, length: 255 },
|
title: { type: String, length: 255 },
|
||||||
content: { type: Schema.Text },
|
content: { type: Schema.Text },
|
||||||
date: { type: Date, detault: Date.now },
|
date: { type: Date, default: Date.now },
|
||||||
published: { type: Boolean, default: false }
|
published: { type: Boolean, default: false }
|
||||||
});
|
});
|
||||||
// simplier way to describe model
|
// simplier way to describe model
|
||||||
|
|
Loading…
Reference in New Issue