title: Anorm and enum fields
body: <p>I just wonder how can I use enum fileds (classes, extended from Enumeration) in my case classes with Anorm. For example:</p>
  
  <pre><code>object Type extends Enumeration {
      type Type = Value
      val User, Admin = Value
  }
  
  case class User (
      id: Pk[Long],
      type: Type.Type
  )
  </code></pre>
  
  <p>If I try such code, I get "RuntimeException: no supported constructors for type models.User". What DB field type should I use for such purposes? I've tried varchar without luck.</p>