Skip to content

Commit

Permalink
docs: update 'primayKey' typos (#211)
Browse files Browse the repository at this point in the history
* Fix 'primayKey' typo in README

* Update 'primayKey' typo in API docs.
  • Loading branch information
freshgum-bubbles authored Oct 28, 2021
1 parent 94998e4 commit b4e1510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ If table structures were intended to be maintained in the models, Leoric can be
const { BIGINT, STRING } = Bone.DataTypes;
class Post extends Bone {
static attributes = {
id: { type: BIGINT, primayKey: true },
id: { type: BIGINT, primaryKey: true },
email: { type: STRING, allowNull: false },
nickname: { type: STRING, allowNull: false },
}
Expand Down
4 changes: 2 additions & 2 deletions docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h2 id="usage">Usage</h2>
<pre class="prettyprint source lang-js"><code>const { BIGINT, STRING } = Bone.DataTypes;
class Post extends Bone {
static attributes = {
id: { type: BIGINT, primayKey: true },
id: { type: BIGINT, primaryKey: true },
email: { type: STRING, allowNull: false },
nickname: { type: STRING, allowNull: false },
}
Expand Down Expand Up @@ -183,4 +183,4 @@ <h2 id="related-projects">Related Projects</h2>
})
</script>
</body>
</html>
</html>

0 comments on commit b4e1510

Please sign in to comment.