title: How can I retrieve the SQL table name in Slick 2.0
body: <p>I need to have access to the SQL table name and since my Slick scheme already stores it, I would like to access it directly through the slick object without having to store it twice.</p>
  
  <p>In Slick 1.0, this can be achieved with
  <code>table.tableName</code></p>
  
  <p>assuming <code>table</code> is e.g.</p>
  
  <pre><code>class MyTable Table[MyCaseClass]("my_table_name") {
      def id              = column[Int]("id", O.PrimaryKey, O.AutoInc)
      ....
  
      def * = id.? ~ .... &lt;&gt; (MyCaseClass, MyCaseClass.unapply _)
  }
  </code></pre>