# Missing line in Chapter 6's Token class

**URL:** <https://forums.kodeco.com/t/missing-line-in-chapter-6s-token-class/51103>\
**Category:** Push Notifications by Tutorials\
**Created:** [September 28, 2018, 5:20pm UTC](https://forums.kodeco.com/t/missing-line-in-chapter-6s-token-class/51103 "2018-09-28T17:20:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gargoyle](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gargoyle/32/107285_2.png) [@gargoyle](https://forums.kodeco.com/u/gargoyle)\
**Post date:** [September 28, 2018, 5:20pm UTC](https://forums.kodeco.com/t/missing-line-in-chapter-6s-token-class/51103/1 "2018-09-28T17:20:04Z")

</div>

In chapter 6, where the Token class is created, there’s a critical line of code missing. Vapor has to be told what to name the table so it doesn’t default to `Token` which is hard to work with. Please add this line of code just before the `var id: UUID?` line:

```
static let entity = "tokens"

```

I have fixed this for the next update of the book.

---

<div class="post-metadata">

**Author:** ![chrisrazeware](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/chrisrazeware/32/107900_2.png) [@chrisrazeware](https://forums.kodeco.com/u/chrisrazeware)\
**Post date:** [September 28, 2018, 5:29pm UTC](https://forums.kodeco.com/t/missing-line-in-chapter-6s-token-class/51103/2 "2018-09-28T17:29:23Z")

</div>

Pinned on September 28, 2018, 5:29pm UTC


