From eaf65c0fe3b82b4b5b4b8ae076a60955361021ec Mon Sep 17 00:00:00 2001 From: Sascha Gehlich Date: Mon, 6 Jan 2014 13:30:13 +0100 Subject: [PATCH] Updated readme, v0.0.3 --- README.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5002ad7..d719634 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 8248adb..becef91 100644 --- a/package.json +++ b/package.json @@ -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": {