Merge branch 'master' of github.com:1602/jugglingdb

This commit is contained in:
Anatoliy Chakkaev 2011-10-11 23:52:16 +04:00
commit 14398c24d7
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ var s = new Schema('redis');
var Post = schema.define('Post', {
title: { type: String, length: 255 },
content: { type: Schema.Text },
date: { type: Date, detault: Date.now },
date: { type: Date, default: Date.now },
published: { type: Boolean, default: false }
});
// simplier way to describe model