Skip to content

Commit

Permalink
Updated readme, v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
saschagehlich committed Jan 6, 2014
1 parent 8844c3e commit eaf65c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ function Product(s) {
// Validations
// Pass the validation method name as a string.
this.validates("cheap");

// Indices
this.index(["name", "isPublished"], { indexName: "NameIsPublished" });
}

// This will be called before a Product is created
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sequenice",
"version": "0.0.2",
"version": "0.0.3",
"description": "A nice model wrapper for `sequelize`",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit eaf65c0

Please sign in to comment.