Want to map MySQL INT bitmask to Slick.
I've found this but have little problem how to use it
https://github.com/nafg/slick-additions/blob/master/src/main/scala/scala/slick/additions/Enum.scala
Any help how should I define object for i.e.
mysql column INT(3) with Enum containing 3 values: lets name them a,b,c here.
I solved the problem with Enums in the following way (taking your values for an example):
}
If works for me in both Play 2.1 and Play 2.2, Slick 1.0.0 and MariaDB 5.5 (same as MySQL)