Permalink
Browse files

Update schema.md

Minor typos
  • Loading branch information...
1 parent ebb14cd commit c136df29092a75af8a38b2a84a0070b942e23222 @neovov neovov committed Apr 21, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/schema.md
View
@@ -66,7 +66,7 @@ forwarded to adapter if adapter have ability to connect/disconnect.
### Model definition
To define model schema have single method `schema.define`. It accepts three
-argumets:
+arguments:
* **model name**:
String name in camel-case with first upper-case letter. This name will be used
@@ -113,7 +113,7 @@ For example, to store `firstName` as `first_name`:
lastName: { type: String, name: 'last_name' }
});
-### DB structure syncronization
+### DB structure synchronization
Schema instance have two methods for updating db structure: automigrate and
autoupdate.

0 comments on commit c136df2

Please sign in to comment.