Permalink
Browse files

Updated index definition

  • Loading branch information...
wjohnald committed Oct 1, 2012
1 parent ef8e8dd commit f021a3c5800602e3835c44b09ce62fd628dcd640
Showing with 2 additions and 3 deletions.
  1. +2 −3 index.js
View
@@ -6,9 +6,8 @@ module.exports = function(name, schema, options) {
schema.add({
slug: {
type: String,
- index: {
- unique: true
- }
+ index: true,
+ unique: true
}
});

0 comments on commit f021a3c

Please sign in to comment.