title: No matching Shape found. Slick does not know how to map the given types
body: <p>My case class</p>
  
  <pre><code>case class Entry(id: Int, title: String, content: String,
                                   publishedDate: Date, views: Int)
  </code></pre>
  
  <p>The Schena</p>
  
  <pre><code>class Entries(tag: Tag) extends Table[Entry](tag, "ENTRIES") {
          def id = column[Int]("id", O.PrimaryKey, O.AutoInc)
          def title = column[String]("title")
          def content = column[String]("content")
          def publishedDate = column[Date]("published_date")
          def views = column[Int]("views")
  
          override def * = (id, title, content, publishedDate, views) &lt;&gt; (Entry.tupled, Entry.unapply)
      }
  
  val entries = TableQuery[Entries]
  </code></pre>
  
  <p>My query:</p>
  
  <pre><code>def byId(id: Rep[Int]) = for (entry &lt;- entries if entry.id === id) yield entry.first
  val entryById = Compiled(byId _)
  def get(id: Int): Option[Entry] = db.Schema.entryById(id).result.run(DB)
  </code></pre>
  
  <p>When I run I got this error: No matching Shape found. Slick does not know 
  how to map the given types.</p>
  
  <p>Play: 2.4
  Scala: 2.11.6
  Slick: 3.1.1</p>
  
  <p>EDIT: I've also got "value first is not a member of db.Schema.Entries" and a similiar error for "result"</p>