diff --git a/lib/schema.js b/lib/schema.js index 0ebdba09..1b79ab06 100644 --- a/lib/schema.js +++ b/lib/schema.js @@ -126,7 +126,7 @@ Schema.JSON = JSON; * ``` * @example more advanced case * ``` - * var User = schema.defind('User', { + * var User = schema.define('User', { * email: { type: String, limit: 150, index: true }, * password: { type: String, limit: 50 }, * birthDate: Date, diff --git a/package.json b/package.json index 303d9e84..bdeda289 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jugglingdb", "description": "ORM for every database: redis, mysql, neo4j, mongodb, postgres, sqlite", - "version": "0.1.12", + "version": "0.1.13", "author": "Anatoliy Chakkaev ", "contributors": [ { "name": "Anatoliy Chakkaev", "email": "rpm1602@gmail.com" },